|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wewebu.ow.server.ecmimpl.opencmis.propertyclass.OwCMISAbstractPropertyClass<V,C>
com.wewebu.ow.server.ecmimpl.opencmis.propertyclass.OwCMISPropertyClassProxy<V,C>
public class OwCMISPropertyClassProxy<V,C extends OwCMISObjectClass>
Property class delegate-proxy. Subclasses can customize behavior and/or data handling through method or accessor overriding.
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 | |
---|---|
OwCMISPropertyClassProxy(String className,
OwCMISPropertyClass<V> propertyClass,
C objectClass)
|
Method Summary | |
---|---|
OwCMISProperty<V> |
from(V... value_p)
Create a new Instance of the specific OwCMISProperty depending on the current OwCMISPropertyClass. |
Object |
getDefaultValue()
|
String |
getDescription(Locale locale)
|
String |
getDisplayName(Locale locale)
|
com.wewebu.ow.server.field.OwEnumCollection |
getEnums()
|
OwCMISFormat |
getFormat()
|
String |
getJavaClassName()
|
Object |
getMaxValue()
|
Object |
getMinValue()
|
Object |
getNativeType()
|
String |
getNonQualifiedName()
Returns the non qualified name ( the CMIS definition name of this property) |
Collection |
getOperators()
|
protected OwCMISPropertyClass<V> |
getPropertyClass()
|
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 context)
|
boolean |
isNameProperty()
|
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 context)
|
boolean |
isRequired()
|
boolean |
isSystem()
|
Methods inherited from class com.wewebu.ow.server.ecmimpl.opencmis.propertyclass.OwCMISAbstractPropertyClass |
---|
createProxy, 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 |
Constructor Detail |
---|
public OwCMISPropertyClassProxy(String className, OwCMISPropertyClass<V> propertyClass, C objectClass)
Method Detail |
---|
protected OwCMISPropertyClass<V> getPropertyClass()
public boolean isArray() throws com.wewebu.ow.server.exceptions.OwException
com.wewebu.ow.server.exceptions.OwException
public boolean isHidden(int context) throws com.wewebu.ow.server.exceptions.OwException
com.wewebu.ow.server.exceptions.OwException
public boolean isReadOnly(int context) throws com.wewebu.ow.server.exceptions.OwException
com.wewebu.ow.server.exceptions.OwException
public String getNonQualifiedName()
OwCMISPropertyClass
public String getQueryName()
OwCMISPropertyClass
see CMIS spec 1.0, chapter 2.1.3.2.1 Attributes common to ALL Object-Type Property Definitions
public boolean isQueryable()
OwCMISPropertyClass
see CMIS spec 1.0, chapter 2.1.3.2.1 Attributes common to ALL Object-Type Property Definitions
public boolean isOrderable()
OwCMISPropertyClass
see CMIS specification 1.0, chapter 2.1.3.2.1 Attributes common to ALL Object-Type Property Definitions
public OwCMISProperty<V> from(V... value_p) throws com.wewebu.ow.server.exceptions.OwException
OwCMISPropertyClass
value_p
- Object the initial value which should be set, can be null
com.wewebu.ow.server.exceptions.OwException
- if creation of OwCMISProperty failedpublic com.wewebu.ow.server.field.OwEnumCollection getEnums() throws com.wewebu.ow.server.exceptions.OwException
com.wewebu.ow.server.exceptions.OwException
public boolean isSystem() throws com.wewebu.ow.server.exceptions.OwException
isSystem
in class OwCMISAbstractPropertyClass<V,C extends OwCMISObjectClass>
com.wewebu.ow.server.exceptions.OwException
public boolean isNameProperty() throws Exception
Exception
public String getDisplayName(Locale locale)
public String getDescription(Locale locale)
public String getJavaClassName()
public Object getNativeType() throws Exception
Exception
public boolean isRequired() throws Exception
Exception
public Object getMaxValue() throws Exception
Exception
public Object getMinValue() throws Exception
Exception
public Object getDefaultValue() throws Exception
Exception
public Collection getOperators() throws Exception
Exception
public OwCMISFormat getFormat()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |