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

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

public class OwCMISMappedInternalPropertyClass
extends OwCMISInternalPropertyClass

OwCMISMappedInternalPropertyClass.

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
 
Fields inherited from interface com.wewebu.ow.server.ecm.OwPropertyClass
CONTEXT_MAX, CONTEXT_NORMAL, CONTEXT_ON_CHECKIN, CONTEXT_ON_CREATE
 
Constructor Summary
OwCMISMappedInternalPropertyClass(com.wewebu.ow.server.ecm.OwPropertyClass delegatePropertyClass_p, OwCMISObjectClass objectClass_p, OwCMISPropertyClass mappedPropertyClass_p)
           
 
Method Summary
 OwCMISInternalProperty createProperty(OwCMISObject object_p)
           
 OwCMISPropertyClass getMappedNativePropertyClass()
           
 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.
 String toString()
           
 
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OwCMISMappedInternalPropertyClass

public OwCMISMappedInternalPropertyClass(com.wewebu.ow.server.ecm.OwPropertyClass delegatePropertyClass_p,
                                         OwCMISObjectClass objectClass_p,
                                         OwCMISPropertyClass mappedPropertyClass_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

getMappedNativePropertyClass

public OwCMISPropertyClass getMappedNativePropertyClass()

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

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.

getOperators

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

toString

public String toString()
Overrides:
toString in class OwCMISInternalPropertyClass


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.