com.wewebu.ow.server.ecmimpl.cmis.propertyclasses
Interface OwCMISPropertyClass

All Superinterfaces:
com.wewebu.ow.server.field.OwFieldDefinition, com.wewebu.ow.server.ecm.OwPropertyClass
All Known Implementing Classes:
OwCMISInternalPropertyClass, OwCMISMappedInternalPropertyClass, OwCMISNativePropertyClass, OwCMISNativePropertyClassTemplate, OwCMISObjectClassDescription, OwCMISObjectName, OwCMISObjectPath, OwCMISPropertyClassBoolean, OwCMISPropertyClassDateTime, OwCMISPropertyClassDecimal, OwCMISPropertyClassHtml, OwCMISPropertyClassId, OwCMISPropertyClassInteger, OwCMISPropertyClassString, OwCMISPropertyClassUri

public interface OwCMISPropertyClass
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
 String 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(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.
 OwCMISProperty newProperty(OwCMISObject object_p, Object value_p, OwCMISNetwork network_p)
          Create a new Instance of the specific OwCMISProperty depending on the current OwCMISPropertyClass.
 
Methods inherited from interface com.wewebu.ow.server.ecm.OwPropertyClass
getCategory, isHidden, isNameProperty, isReadOnly, isSystemProperty
 
Methods inherited from interface com.wewebu.ow.server.field.OwFieldDefinition
getClassName, getComplexChildClasses, getDefaultValue, getDescription, getDisplayName, getEnums, getFormat, getJavaClassName, getMaxValue, getMinValue, getNativeType, getNodeFromValue, getOperators, getValueFromNode, getValueFromString, isArray, isComplex, isEnum, isRequired
 

Method Detail

getObjectClass

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

Returns:
String id/name of object class

getFullQualifiedName

String 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:
String 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(OwCMISQueryContext context_p)
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(OwCMISQueryContext context_p)
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.

newProperty

OwCMISProperty newProperty(OwCMISObject object_p,
                           Object value_p,
                           OwCMISNetwork network_p)
                           throws com.wewebu.ow.server.exceptions.OwException
Create a new Instance of the specific OwCMISProperty depending on the current OwCMISPropertyClass.

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


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.