|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.wewebu.ow.server.ecmimpl.cmis.propertyclasses.OwCMISNativePropertyClass
public abstract class OwCMISNativePropertyClass
Property class wrapper for CMIS property definition type.
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 | |
|---|---|
OwCMISNativePropertyClass(OwCMISObjectClass objectClass_p,
OwCMISQuerySchema querySchema_p)
|
|
| Method Summary | |
|---|---|
protected abstract com.wewebu.ow.server.field.OwEnumCollection |
createEnums()
|
abstract OwCMISNativeProperty |
createProperty(org.oasis_open.docs.ns.cmis.core._200908.CmisProperty property_p,
OwCMISNetwork network_p)
|
boolean |
equals(Object obj_p)
|
String |
getCategory()
|
String |
getClassName()
|
List<?> |
getComplexChildClasses()
|
Object |
getDefaultValue()
|
String |
getDescription(Locale locale_p)
|
String |
getDisplayName(Locale locale_p)
|
com.wewebu.ow.server.field.OwEnumCollection |
getEnums()
|
abstract OwCMISNativeFormat |
getFormat()
|
String |
getFullQualifiedName()
Returns the full qualified name which is created from the OwCMISPropertyClass.getObjectClass() class name
and the OwCMISPropertyClass.getNonQualifiedName(), separated with an
'.' (dot) between the names. |
abstract org.oasis_open.docs.ns.cmis.core._200908.CmisPropertyDefinitionType |
getNativeType()
|
Node |
getNodeFromValue(Object value_p,
Document doc_p)
|
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. |
Object |
getValueFromNode(Node node_p)
|
Object |
getValueFromString(String text_p)
|
int |
hashCode()
|
boolean |
isArray()
|
boolean |
isComplex()
|
boolean |
isEnum()
|
boolean |
isHidden(int context_p)
|
boolean |
isNameProperty()
|
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. |
boolean |
isReadOnly(int context_p)
|
boolean |
isRequired()
|
boolean |
isSystemProperty()
|
OwCMISNativeProperty |
newProperty(OwCMISObject object_p,
Object value_p,
OwCMISNetwork netowrk_p)
Create a new Instance of the specific OwCMISProperty depending on the current OwCMISPropertyClass. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.wewebu.ow.server.field.OwFieldDefinition |
|---|
getJavaClassName, getMaxValue, getMinValue, getOperators |
| Constructor Detail |
|---|
public OwCMISNativePropertyClass(OwCMISObjectClass objectClass_p,
OwCMISQuerySchema querySchema_p)
| Method Detail |
|---|
public OwCMISNativeProperty newProperty(OwCMISObject object_p,
Object value_p,
OwCMISNetwork netowrk_p)
throws com.wewebu.ow.server.exceptions.OwException
OwCMISPropertyClass
newProperty in interface OwCMISPropertyClassobject_p - OwCMISObject to be used, can be nullvalue_p - Object the initial value which should be set, can be nullnetowrk_p - current network
com.wewebu.ow.server.exceptions.OwException - if creation of OwCMISProperty failed
public abstract OwCMISNativeProperty createProperty(org.oasis_open.docs.ns.cmis.core._200908.CmisProperty property_p,
OwCMISNetwork network_p)
throws com.wewebu.ow.server.exceptions.OwInvalidOperationException
com.wewebu.ow.server.exceptions.OwInvalidOperationException
protected abstract com.wewebu.ow.server.field.OwEnumCollection createEnums()
throws com.wewebu.ow.server.exceptions.OwException
com.wewebu.ow.server.exceptions.OwException
public String getCategory()
throws com.wewebu.ow.server.exceptions.OwException
getCategory in interface com.wewebu.ow.server.ecm.OwPropertyClasscom.wewebu.ow.server.exceptions.OwException
public boolean isHidden(int context_p)
throws com.wewebu.ow.server.exceptions.OwException
isHidden in interface com.wewebu.ow.server.ecm.OwPropertyClasscom.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.OwPropertyClasscom.wewebu.ow.server.exceptions.OwException
public boolean isSystemProperty()
throws com.wewebu.ow.server.exceptions.OwException
isSystemProperty in interface com.wewebu.ow.server.ecm.OwPropertyClasscom.wewebu.ow.server.exceptions.OwExceptionpublic String getNonQualifiedName()
OwCMISPropertyClass
getNonQualifiedName in interface OwCMISPropertyClasspublic String getClassName()
getClassName in interface com.wewebu.ow.server.field.OwFieldDefinition
public List<?> getComplexChildClasses()
throws com.wewebu.ow.server.exceptions.OwException
getComplexChildClasses in interface com.wewebu.ow.server.field.OwFieldDefinitioncom.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.OwExceptionpublic String getDescription(Locale locale_p)
getDescription in interface com.wewebu.ow.server.field.OwFieldDefinitionpublic String getDisplayName(Locale locale_p)
getDisplayName in interface com.wewebu.ow.server.field.OwFieldDefinition
public com.wewebu.ow.server.field.OwEnumCollection getEnums()
throws com.wewebu.ow.server.exceptions.OwException
getEnums in interface com.wewebu.ow.server.field.OwFieldDefinitioncom.wewebu.ow.server.exceptions.OwExceptionpublic abstract OwCMISNativeFormat getFormat()
getFormat in interface com.wewebu.ow.server.field.OwFieldDefinitionpublic abstract org.oasis_open.docs.ns.cmis.core._200908.CmisPropertyDefinitionType getNativeType()
getNativeType in interface com.wewebu.ow.server.field.OwFieldDefinition
public Node getNodeFromValue(Object value_p,
Document doc_p)
throws com.wewebu.ow.server.exceptions.OwException
getNodeFromValue in interface com.wewebu.ow.server.field.OwFieldDefinitioncom.wewebu.ow.server.exceptions.OwException
public Object getValueFromNode(Node node_p)
throws com.wewebu.ow.server.exceptions.OwException
getValueFromNode in interface com.wewebu.ow.server.field.OwFieldDefinitioncom.wewebu.ow.server.exceptions.OwException
public Object getValueFromString(String text_p)
throws com.wewebu.ow.server.exceptions.OwException
getValueFromString in interface com.wewebu.ow.server.field.OwFieldDefinitioncom.wewebu.ow.server.exceptions.OwException
public boolean isArray()
throws com.wewebu.ow.server.exceptions.OwException
isArray in interface com.wewebu.ow.server.field.OwFieldDefinitioncom.wewebu.ow.server.exceptions.OwExceptionpublic boolean isComplex()
isComplex in interface com.wewebu.ow.server.field.OwFieldDefinition
public boolean isEnum()
throws com.wewebu.ow.server.exceptions.OwException
isEnum in interface com.wewebu.ow.server.field.OwFieldDefinitioncom.wewebu.ow.server.exceptions.OwException
public boolean isRequired()
throws com.wewebu.ow.server.exceptions.OwException
isRequired in interface com.wewebu.ow.server.field.OwFieldDefinitioncom.wewebu.ow.server.exceptions.OwExceptionpublic String getQueryName(OwCMISQueryContext context_p)
OwCMISPropertyClasssee CMIS spec 1.0, chapter 2.1.3.2.1 Attributes common to ALL Object-Type Property Definitions
getQueryName in interface OwCMISPropertyClasspublic String getFullQualifiedName()
OwCMISPropertyClassOwCMISPropertyClass.getObjectClass() class name
and the OwCMISPropertyClass.getNonQualifiedName(), separated with an
'.' (dot) between the names.
getFullQualifiedName in interface OwCMISPropertyClasspublic OwCMISObjectClass getObjectClass()
OwCMISPropertyClass
getObjectClass in interface OwCMISPropertyClasspublic boolean isQueryable(OwCMISQueryContext context_p)
OwCMISPropertyClasssee CMIS spec 1.0, chapter 2.1.3.2.1 Attributes common to ALL Object-Type Property Definitions
isQueryable in interface OwCMISPropertyClasspublic boolean isOrderable()
OwCMISPropertyClasssee CMIS specification 1.0, chapter 2.1.3.2.1 Attributes common to ALL Object-Type Property Definitions
isOrderable in interface OwCMISPropertyClasspublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj_p)
equals in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||