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

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

public class OwCMISObjectPath
extends OwCMISInternalPropertyClass

Resource object name property (OW_ObjectPath) 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

Since:
3.1.0.4

Field Summary
 
Fields inherited from interface com.wewebu.ow.server.ecm.OwPropertyClass
CONTEXT_MAX, CONTEXT_NORMAL, CONTEXT_ON_CHECKIN, CONTEXT_ON_CREATE
 
Constructor Summary
OwCMISObjectPath(OwCMISObjectClass objectClass_p)
           
 
Method Summary
 OwCMISInternalProperty createProperty(OwCMISObject object_p)
           
 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, getOperators, 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
 

Constructor Detail

OwCMISObjectPath

public OwCMISObjectPath(OwCMISObjectClass objectClass_p)
Method Detail

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

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

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.

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


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.