本文整理汇总了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;
}
示例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");
}
示例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");
}
示例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");
}
示例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");
}
示例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);
}