com.wewebu.ow.server.ecmimpl.opencmis.propertyclass
Interface OwCMISPropertyClass<V>

All Superinterfaces:
com.wewebu.ow.server.field.OwFieldDefinition, com.wewebu.ow.server.ecm.OwPropertyClass
All Known Subinterfaces:
OwCMISBooleanPropertyClass, OwCMISBoundVirtualPropertyClass<O>, OwCMISDateTimePropertyClass, OwCMISDecimalPropertyClass, OwCMISHtmlPropertyClass, OwCMISIdPropertyClass<O>, OwCMISIntegerPropertyClass, OwCMISNativePropertyClass<V,N,D>, OwCMISStoredVirtualPropertyClass<O>, OwCMISStringPropertyClass, OwCMISUriPropertyClass, OwCMISVirtualPropertyClass<V>
All Known Implementing Classes:
OwCMISAbstractNativePropertyClass, OwCMISAbstractPropertyClass, OwCMISAbstractStoredPropertyClass, OwCMISBooleanPropertyClassImpl, OwCMISBoundVirtualPropertyClassImpl, OwCMISClassDescriptionPropertyClass, OwCMISDateTimePropertyClassImpl, OwCMISDecimalPropertyClassImpl, OwCMISDelegateVirtualPropertyClass, OwCMISHtmlPropertyClassImpl, OwCMISIdPropertyClassImpl, OwCMISIntegerPropertyClassImpl, OwCMISLinkVirtualIdPropertyClass, OwCMISObjectNamePropertyClass, OwCMISPathPropertyClass, OwCMISPropertyClassProxy, OwCMISStringPropertyClassImpl, OwCMISUriPropertyClassImpl, OwCMISVersionSeriesPropertyClass, OwCMISVirtualPropertyClassProxy

public interface OwCMISPropertyClass<V>
extends com.wewebu.ow.server.ecm.OwPropertyClass

OwCMISPropertyClass.

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
 
Method Summary
 OwCMISPropertyClass<V> createProxy(String className)
           
 OwCMISProperty<V> from(V... value_p)
          Create a new Instance of the specific OwCMISProperty depending on the current OwCMISPropertyClass.
 com.wewebu.ow.server.field.OwEnumCollection getEnums()
           
 OwCMISFormat getFormat()
           
 OwCMISQualifiedName getFullQualifiedName()
          Returns the full qualified name which is created from the getObjectClass() class name and the getNonQualifiedName(), separated with an '.' (dot) between the names.
 String getNonQualifiedName()
          Returns the non qualified name ( the CMIS definition name of this property)
 OwCMISObjectClass getObjectClass()
          Get the ObjectClassName which is parent of this property.
 String getQueryName()
          Returns the specified queryName of the property which should be used in search request instead of the id or property name.
 boolean isArray()
           
 boolean isHidden(int iContext_p)
           
 boolean isOrderable()
          Returns a boolean representation, notifying the possibility of this property to be used in ORDER BY clause.
 boolean isQueryable()
          Returns a boolean representation if this property can occur in WHERE clause for filtration.
 boolean isReadOnly(int iContext_p)
           
 boolean isSystemProperty()
           
 
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
 

Method Detail

isArray

boolean isArray()
                throws com.wewebu.ow.server.exceptions.OwException
Specified by:
isArray in interface com.wewebu.ow.server.field.OwFieldDefinition
Throws:
com.wewebu.ow.server.exceptions.OwException

isHidden

boolean isHidden(int iContext_p)
                 throws com.wewebu.ow.server.exceptions.OwException
Specified by:
isHidden in interface com.wewebu.ow.server.ecm.OwPropertyClass
Throws:
com.wewebu.ow.server.exceptions.OwException

isReadOnly

boolean isReadOnly(int iContext_p)
                   throws com.wewebu.ow.server.exceptions.OwException
Specified by:
isReadOnly in interface com.wewebu.ow.server.ecm.OwPropertyClass
Throws:
com.wewebu.ow.server.exceptions.OwException

getObjectClass

OwCMISObjectClass getObjectClass()
Get the ObjectClassName which is parent of this property.

Returns:
String id/name of object class

getFullQualifiedName

OwCMISQualifiedName getFullQualifiedName()
Returns the full qualified name which is created from the getObjectClass() class name and the getNonQualifiedName(), separated with an '.' (dot) between the names.

Returns:
OwCMISQualifiedName representing the full qualified name

getNonQualifiedName

String getNonQualifiedName()
Returns the non qualified name ( the CMIS definition name of this property)

Returns:
String representing the full qualified name

getQueryName

String getQueryName()
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

boolean isQueryable()
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

boolean isOrderable()
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.

from

OwCMISProperty<V> from(V... value_p)
                       throws com.wewebu.ow.server.exceptions.OwException
Create a new Instance of the specific OwCMISProperty depending on the current OwCMISPropertyClass.

Parameters:
value_p - Object the initial value which should be set, can be null
Returns:
OwCMISProperty with given value, depending on the current property class.
Throws:
com.wewebu.ow.server.exceptions.OwException - if creation of OwCMISProperty failed

getFormat

OwCMISFormat getFormat()
Specified by:
getFormat in interface com.wewebu.ow.server.field.OwFieldDefinition

getEnums

com.wewebu.ow.server.field.OwEnumCollection getEnums()
                                                     throws com.wewebu.ow.server.exceptions.OwException
Specified by:
getEnums in interface com.wewebu.ow.server.field.OwFieldDefinition
Throws:
com.wewebu.ow.server.exceptions.OwException

createProxy

OwCMISPropertyClass<V> createProxy(String className)

isSystemProperty

boolean isSystemProperty()
                         throws com.wewebu.ow.server.exceptions.OwException
Specified by:
isSystemProperty in interface com.wewebu.ow.server.ecm.OwPropertyClass
Throws:
com.wewebu.ow.server.exceptions.OwException


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.