|
||||||||||
| 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<O,OwCMISNativeObjectClass<?,?>>
com.wewebu.ow.server.ecmimpl.opencmis.propertyclass.OwCMISAbstractNativePropertyClass<O,N,P>
public abstract class OwCMISAbstractNativePropertyClass<O,N,P extends org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<N>>
OwCMISAbstractNativePropertyClass.
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 | |
|---|---|
OwCMISAbstractNativePropertyClass(String className,
P propertyDefinition,
OwCMISValueConverter<N,O> converter,
Class<O> javaClass,
Collection<Integer> operators,
OwCMISNativeObjectClass<?,?> objectClass)
|
|
| Method Summary | |
|---|---|
OwCMISNativeProperty<O,N> |
from(O... value_p)
Create a new Instance of the specific OwCMISProperty depending on the current OwCMISPropertyClass. |
OwCMISNativeProperty<O,N> |
from(org.apache.chemistry.opencmis.client.api.Property<N> property_p)
|
protected OwCMISValueConverter<N,O> |
getConverter()
|
Object |
getDefaultValue()
|
String |
getDescription(Locale locale_p)
|
String |
getDisplayName(Locale locale_p)
|
com.wewebu.ow.server.field.OwEnumCollection |
getEnums()
|
String |
getJavaClassName()
|
P |
getNativeType()
|
String |
getNonQualifiedName()
Returns the non qualified name ( the CMIS definition name of this property) |
Collection<Integer> |
getOperators()
|
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 |
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_p)
|
boolean |
isRequired()
|
boolean |
isSystem()
|
protected org.apache.chemistry.opencmis.client.api.Property<N> |
newProperty(List<N> nativeValues_p)
|
String |
toString()
|
| 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, wait, wait, wait |
| Methods inherited from interface com.wewebu.ow.server.ecmimpl.opencmis.propertyclass.OwCMISNativePropertyClass |
|---|
getObjectClass |
| Methods inherited from interface com.wewebu.ow.server.ecmimpl.opencmis.propertyclass.OwCMISPropertyClass |
|---|
createProxy, getFormat, getFullQualifiedName, isSystemProperty |
| Methods inherited from interface com.wewebu.ow.server.ecm.OwPropertyClass |
|---|
getCategory |
| Methods inherited from interface com.wewebu.ow.server.field.OwFieldDefinition |
|---|
getClassName, getComplexChildClasses, getMaxValue, getMinValue, getNodeFromValue, getValueFromNode, getValueFromString, isComplex, isEnum |
| Constructor Detail |
|---|
public OwCMISAbstractNativePropertyClass(String className,
P propertyDefinition,
OwCMISValueConverter<N,O> converter,
Class<O> javaClass,
Collection<Integer> operators,
OwCMISNativeObjectClass<?,?> objectClass)
| Method Detail |
|---|
public final Collection<Integer> getOperators()
throws com.wewebu.ow.server.exceptions.OwException
getOperators in interface com.wewebu.ow.server.field.OwFieldDefinitioncom.wewebu.ow.server.exceptions.OwExceptionprotected OwCMISValueConverter<N,O> getConverter()
protected org.apache.chemistry.opencmis.client.api.Property<N> newProperty(List<N> nativeValues_p)
public OwCMISNativeProperty<O,N> from(O... value_p)
throws com.wewebu.ow.server.exceptions.OwException
OwCMISPropertyClass
from in interface OwCMISNativePropertyClass<O,N,P extends org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<N>>from in interface OwCMISPropertyClass<O>value_p - Object the initial value which should be set, can be null
com.wewebu.ow.server.exceptions.OwException - if creation of OwCMISProperty failed
public OwCMISNativeProperty<O,N> from(org.apache.chemistry.opencmis.client.api.Property<N> property_p)
throws com.wewebu.ow.server.exceptions.OwException
from in interface OwCMISNativePropertyClass<O,N,P extends org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<N>>com.wewebu.ow.server.exceptions.OwException
public Object getDefaultValue()
throws com.wewebu.ow.server.exceptions.OwException
getDefaultValue in interface com.wewebu.ow.server.field.OwFieldDefinitioncom.wewebu.ow.server.exceptions.OwException
public boolean isSystem()
throws com.wewebu.ow.server.exceptions.OwException
isSystem in class OwCMISAbstractPropertyClass<O,OwCMISNativeObjectClass<?,?>>com.wewebu.ow.server.exceptions.OwException
public boolean isNameProperty()
throws com.wewebu.ow.server.exceptions.OwException
isNameProperty in interface com.wewebu.ow.server.ecm.OwPropertyClasscom.wewebu.ow.server.exceptions.OwException
public boolean isReadOnly(int context_p)
throws com.wewebu.ow.server.exceptions.OwException
isReadOnly in interface com.wewebu.ow.server.ecm.OwPropertyClassisReadOnly in interface OwCMISPropertyClass<O>com.wewebu.ow.server.exceptions.OwExceptionpublic String getDisplayName(Locale locale_p)
getDisplayName in interface com.wewebu.ow.server.field.OwFieldDefinitionpublic String getDescription(Locale locale_p)
getDescription in interface com.wewebu.ow.server.field.OwFieldDefinitionpublic P getNativeType()
getNativeType in interface OwCMISNativePropertyClass<O,N,P extends org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<N>>getNativeType in interface com.wewebu.ow.server.field.OwFieldDefinition
public boolean isRequired()
throws com.wewebu.ow.server.exceptions.OwException
isRequired in interface com.wewebu.ow.server.field.OwFieldDefinitioncom.wewebu.ow.server.exceptions.OwExceptionpublic boolean isArray()
isArray in interface OwCMISPropertyClass<O>isArray in interface com.wewebu.ow.server.field.OwFieldDefinitionpublic String getNonQualifiedName()
OwCMISPropertyClass
getNonQualifiedName in interface OwCMISPropertyClass<O>public String getQueryName()
OwCMISPropertyClasssee CMIS spec 1.0, chapter 2.1.3.2.1 Attributes common to ALL Object-Type Property Definitions
getQueryName in interface OwCMISPropertyClass<O>public boolean isQueryable()
OwCMISPropertyClasssee CMIS spec 1.0, chapter 2.1.3.2.1 Attributes common to ALL Object-Type Property Definitions
isQueryable in interface OwCMISPropertyClass<O>public boolean isOrderable()
OwCMISPropertyClasssee CMIS specification 1.0, chapter 2.1.3.2.1 Attributes common to ALL Object-Type Property Definitions
isOrderable in interface OwCMISPropertyClass<O>
public com.wewebu.ow.server.field.OwEnumCollection getEnums()
throws com.wewebu.ow.server.exceptions.OwException
getEnums in interface OwCMISPropertyClass<O>getEnums in interface com.wewebu.ow.server.field.OwFieldDefinitioncom.wewebu.ow.server.exceptions.OwExceptionpublic final String getJavaClassName()
getJavaClassName in interface com.wewebu.ow.server.field.OwFieldDefinition
public boolean isHidden(int iContext_p)
throws com.wewebu.ow.server.exceptions.OwException
isHidden in interface com.wewebu.ow.server.ecm.OwPropertyClassisHidden in interface OwCMISPropertyClass<O>com.wewebu.ow.server.exceptions.OwExceptionpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||