当前位置: 首页>>代码示例>>Java>>正文


Java PropertyIds.OBJECT_TYPE_ID属性代码示例

本文整理汇总了Java中org.apache.chemistry.opencmis.commons.PropertyIds.OBJECT_TYPE_ID属性的典型用法代码示例。如果您正苦于以下问题:Java PropertyIds.OBJECT_TYPE_ID属性的具体用法?Java PropertyIds.OBJECT_TYPE_ID怎么用?Java PropertyIds.OBJECT_TYPE_ID使用的例子?那么, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在org.apache.chemistry.opencmis.commons.PropertyIds的用法示例。


在下文中一共展示了PropertyIds.OBJECT_TYPE_ID属性的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: getObjectTypeIdProperty

public String getObjectTypeIdProperty(Properties properties)
{
    String objectTypeId = getIdProperty(properties, PropertyIds.OBJECT_TYPE_ID);
    if ((objectTypeId == null) || (objectTypeId.trim().length() == 0))
    {
        throw new CmisInvalidArgumentException("Property " + PropertyIds.OBJECT_TYPE_ID + " must be set!");
    }

    return objectTypeId;
}
 
开发者ID:Alfresco,项目名称:alfresco-repository,代码行数:10,代码来源:CMISConnector.java

示例2: buildLuceneGreaterThanOrEquals

@Override
public <Q, S, E extends Throwable> Q buildLuceneGreaterThanOrEquals(LuceneQueryParserAdaptor<Q, S, E> lqpa, Serializable value, PredicateMode mode,
        LuceneFunction luceneFunction) throws E
{
    throw new CmisInvalidArgumentException("Property " + PropertyIds.OBJECT_TYPE_ID
            + " can not be used in a 'greater than or equals' comparison");
}
 
开发者ID:Alfresco,项目名称:alfresco-data-model,代码行数:7,代码来源:ObjectTypeIdLuceneBuilder.java

示例3: buildLuceneGreaterThan

@Override
public <Q, S, E extends Throwable> Q buildLuceneGreaterThan(LuceneQueryParserAdaptor<Q, S, E> lqpa, Serializable value, PredicateMode mode,
        LuceneFunction luceneFunction) throws E
{
    throw new CmisInvalidArgumentException("Property " + PropertyIds.OBJECT_TYPE_ID + " can not be used in a 'greater than' comparison");
}
 
开发者ID:Alfresco,项目名称:alfresco-data-model,代码行数:6,代码来源:ObjectTypeIdLuceneBuilder.java

示例4: buildLuceneLessThan

@Override
public <Q, S, E extends Throwable> Q buildLuceneLessThan(LuceneQueryParserAdaptor<Q, S, E> lqpa, Serializable value, PredicateMode mode,
        LuceneFunction luceneFunction) throws E
{
    throw new CmisInvalidArgumentException("Property " + PropertyIds.OBJECT_TYPE_ID + " can not be used in a 'less than' comparison");
}
 
开发者ID:Alfresco,项目名称:alfresco-data-model,代码行数:6,代码来源:ObjectTypeIdLuceneBuilder.java

示例5: buildLuceneLessThanOrEquals

@Override
public <Q, S, E extends Throwable> Q buildLuceneLessThanOrEquals(LuceneQueryParserAdaptor<Q, S, E> lqpa, Serializable value, PredicateMode mode,
        LuceneFunction luceneFunction) throws E
{
    throw new CmisInvalidArgumentException("Property " + PropertyIds.OBJECT_TYPE_ID + " can not be used in a 'less than or equals' comparison");
}
 
开发者ID:Alfresco,项目名称:alfresco-data-model,代码行数:6,代码来源:ObjectTypeIdLuceneBuilder.java

示例6: ObjectTypeIdProperty

/**
 * Construct
 *
 * @param serviceRegistry ServiceRegistry
 * @param connector CMISConnector
 * @param dictionaryService CMISDictionaryService
 */
public ObjectTypeIdProperty(ServiceRegistry serviceRegistry, CMISConnector connector,
        CMISDictionaryService dictionaryService)
{
    super(serviceRegistry, connector, PropertyIds.OBJECT_TYPE_ID);
}
 
开发者ID:Alfresco,项目名称:alfresco-repository,代码行数:12,代码来源:ObjectTypeIdProperty.java


注:本文中的org.apache.chemistry.opencmis.commons.PropertyIds.OBJECT_TYPE_ID属性示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。