com.wewebu.ow.server.ecmimpl.opencmis.propertyclass
Class OwCMISBoundVirtualPropertyClassImpl<O>
java.lang.Object
com.wewebu.ow.server.ecmimpl.opencmis.propertyclass.OwCMISAbstractPropertyClass<O,C>
com.wewebu.ow.server.ecmimpl.opencmis.propertyclass.OwCMISDelegateVirtualPropertyClass<O,OwCMISObjectClass>
com.wewebu.ow.server.ecmimpl.opencmis.propertyclass.OwCMISBoundVirtualPropertyClassImpl<O>
- All Implemented Interfaces:
- com.wewebu.ow.server.ecm.OwPropertyClass, OwCMISBoundVirtualPropertyClass<O>, OwCMISPropertyClass<O>, OwCMISVirtualPropertyClass<O>, com.wewebu.ow.server.field.OwFieldDefinition
public class OwCMISBoundVirtualPropertyClassImpl<O>
- extends OwCMISDelegateVirtualPropertyClass<O,OwCMISObjectClass>
- implements OwCMISBoundVirtualPropertyClass<O>
OwCMISBoundVirtualPropertyClassImpl.
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
Fields inherited from interface com.wewebu.ow.server.ecm.OwPropertyClass |
CONTEXT_MAX, CONTEXT_NORMAL, CONTEXT_ON_CHECKIN, CONTEXT_ON_CREATE |
Methods inherited from class com.wewebu.ow.server.ecmimpl.opencmis.propertyclass.OwCMISDelegateVirtualPropertyClass |
createProxy, from, getDefaultValue, getDescription, getDisplayName, getEnums, getFormat, getJavaClassName, getMaxValue, getMinValue, getNativeType, getNonQualifiedName, getOperators, isArray, isHidden, isNameProperty, isReadOnly, isRequired, isSystem |
Methods inherited from class com.wewebu.ow.server.ecmimpl.opencmis.propertyclass.OwCMISAbstractPropertyClass |
getCategory, getClassName, getComplexChildClasses, getFullQualifiedName, getNodeFromValue, getObjectClass, getPreferredPropertyType, getValueFromNode, getValueFromString, isComplex, isEnum, isSystemProperty |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.wewebu.ow.server.ecm.OwPropertyClass |
getCategory, isNameProperty |
Methods inherited from interface com.wewebu.ow.server.field.OwFieldDefinition |
getClassName, getComplexChildClasses, getDefaultValue, getDescription, getDisplayName, getJavaClassName, getMaxValue, getMinValue, getNativeType, getNodeFromValue, getOperators, getValueFromNode, getValueFromString, isComplex, isEnum, isRequired |
OwCMISBoundVirtualPropertyClassImpl
public OwCMISBoundVirtualPropertyClassImpl(String className,
com.wewebu.ow.server.ecm.OwPropertyClass internalPropertyClass_p,
String boundPropertyClass_p,
OwCMISObjectClass objectClass_p,
Collection<Integer> operators_p)
getBoundPropertyClass
protected OwCMISPropertyClass<O> getBoundPropertyClass()
throws com.wewebu.ow.server.exceptions.OwException
- Throws:
com.wewebu.ow.server.exceptions.OwException
from
public OwCMISVirtualProperty<O> from(OwCMISObject object_p)
throws com.wewebu.ow.server.exceptions.OwException
- Description copied from interface:
OwCMISVirtualPropertyClass
- Creates a virtual property instance of this class for a given object.
- Specified by:
from
in interface OwCMISVirtualPropertyClass<O>
- Returns:
- a
OwCMISVirtualProperty
of this class for the given OwCMISObject
- Throws:
com.wewebu.ow.server.exceptions.OwException
getQueryName
public String getQueryName()
- 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
- Specified by:
getQueryName
in interface OwCMISPropertyClass<O>
- Returns:
- String queryName
isQueryable
public boolean isQueryable()
- 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
- Specified by:
isQueryable
in interface OwCMISPropertyClass<O>
- 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
- Specified by:
isOrderable
in interface OwCMISPropertyClass<O>
- Returns:
- boolean true if possible to order/sort the values, else false.
getBoundPropertyClassName
public String getBoundPropertyClassName()
- Specified by:
getBoundPropertyClassName
in interface OwCMISBoundVirtualPropertyClass<O>
- Returns:
- the name/ID of the approximate CMIS correspondent native object class / object-type.
Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.