com.wewebu.ow.server.ecmimpl.cmis.propertyclasses
Class OwCMISObjectName

java.lang.Object
  extended by com.wewebu.ow.server.ecmimpl.cmis.propertyclasses.OwCMISInternalPropertyClass
      extended by com.wewebu.ow.server.ecmimpl.cmis.propertyclasses.OwCMISObjectName
All Implemented Interfaces:
com.wewebu.ow.server.ecm.OwPropertyClass, OwCMISPropertyClass, com.wewebu.ow.server.field.OwFieldDefinition

public class OwCMISObjectName
extends OwCMISInternalPropertyClass

Resource object name property (OW_ObjectName) implementation for CMIS.

Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.

For licensing information read the license.txt file or
go to: http://wiki.alfresco.com


Field Summary
static Collection<Integer> DEFAULT_OPERATORS
           
 
Fields inherited from interface com.wewebu.ow.server.ecm.OwPropertyClass
CONTEXT_MAX, CONTEXT_NORMAL, CONTEXT_ON_CHECKIN, CONTEXT_ON_CREATE
 
Constructor Summary
OwCMISObjectName(OwCMISObjectClass objectClass_p)
           
 
Method Summary
 OwCMISInternalProperty createProperty(OwCMISObject object_p)
           
 Collection getOperators()
           
 String getQueryName(OwCMISQueryContext context_p)
          Returns the specified queryName of the property which should be used in search request instead of the id or property name.
 boolean isOrderable()
          Returns a boolean representation, notifying the possibility of this property to be used in ORDER BY clause.
 boolean isQueryable(OwCMISQueryContext context_p)
          Returns a boolean representation if this property can occur in WHERE clause for filtration.
 
Methods inherited from class com.wewebu.ow.server.ecmimpl.cmis.propertyclasses.OwCMISInternalPropertyClass
equals, getCategory, getClassName, getComplexChildClasses, getDefaultValue, getDescription, getDisplayName, getEnums, getFormat, getFullQualifiedName, getJavaClassName, getMaxValue, getMinValue, getNativeType, getNodeFromValue, getNonQualifiedName, getObjectClass, getValueFromNode, getValueFromString, hashCode, isArray, isComplex, isEnum, isHidden, isNameProperty, isReadOnly, isRequired, isSystemProperty, newProperty, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_OPERATORS

public static final Collection<Integer> DEFAULT_OPERATORS
Constructor Detail

OwCMISObjectName

public OwCMISObjectName(OwCMISObjectClass objectClass_p)
Method Detail

createProperty

public OwCMISInternalProperty createProperty(OwCMISObject object_p)
                                      throws com.wewebu.ow.server.exceptions.OwException
Specified by:
createProperty in class OwCMISInternalPropertyClass
Throws:
com.wewebu.ow.server.exceptions.OwException

getQueryName

public String getQueryName(OwCMISQueryContext context_p)
Description copied from interface: OwCMISPropertyClass
Returns the specified queryName of the property which should be used in search request instead of the id or property name.

see CMIS spec 1.0, chapter 2.1.3.2.1 Attributes common to ALL Object-Type Property Definitions

Returns:
String queryName

isOrderable

public boolean isOrderable()
Description copied from interface: OwCMISPropertyClass
Returns a boolean representation, notifying the possibility of this property to be used in ORDER BY clause.

see CMIS specification 1.0, chapter 2.1.3.2.1 Attributes common to ALL Object-Type Property Definitions

Returns:
boolean true if possible to order/sort the values, else false.

isQueryable

public boolean isQueryable(OwCMISQueryContext context_p)
Description copied from interface: OwCMISPropertyClass
Returns a boolean representation if this property can occur in WHERE clause for filtration.

see CMIS spec 1.0, chapter 2.1.3.2.1 Attributes common to ALL Object-Type Property Definitions

Returns:
boolean true if possible to use for filtering, else false

getOperators

public Collection getOperators()
                        throws Exception
Specified by:
getOperators in interface com.wewebu.ow.server.field.OwFieldDefinition
Overrides:
getOperators in class OwCMISInternalPropertyClass
Throws:
Exception


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.