com.wewebu.ow.server.ecmimpl.opencmis.propertyclass
Class OwCMISDelegateVirtualPropertyClass<O,C extends OwCMISObjectClass>
java.lang.Object
com.wewebu.ow.server.ecmimpl.opencmis.propertyclass.OwCMISAbstractPropertyClass<O,C>
com.wewebu.ow.server.ecmimpl.opencmis.propertyclass.OwCMISDelegateVirtualPropertyClass<O,C>
- All Implemented Interfaces:
- com.wewebu.ow.server.ecm.OwPropertyClass, OwCMISPropertyClass<O>, OwCMISVirtualPropertyClass<O>, com.wewebu.ow.server.field.OwFieldDefinition
- Direct Known Subclasses:
- OwCMISAbstractStoredPropertyClass, OwCMISBoundVirtualPropertyClassImpl
public abstract class OwCMISDelegateVirtualPropertyClass<O,C extends OwCMISObjectClass>
- extends OwCMISAbstractPropertyClass<O,C>
- implements OwCMISVirtualPropertyClass<O>
OwCMISDelegateVirtualPropertyClass.
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
Fields inherited from interface com.wewebu.ow.server.ecm.OwPropertyClass |
CONTEXT_MAX, CONTEXT_NORMAL, CONTEXT_ON_CHECKIN, CONTEXT_ON_CREATE |
Methods inherited from class com.wewebu.ow.server.ecmimpl.opencmis.propertyclass.OwCMISAbstractPropertyClass |
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 |
Methods inherited from interface com.wewebu.ow.server.ecm.OwPropertyClass |
getCategory |
Methods inherited from interface com.wewebu.ow.server.field.OwFieldDefinition |
getClassName, getComplexChildClasses, getNodeFromValue, getValueFromNode, getValueFromString, isComplex, isEnum |
OwCMISDelegateVirtualPropertyClass
public OwCMISDelegateVirtualPropertyClass(String className,
com.wewebu.ow.server.ecm.OwPropertyClass internalPropertyClass,
Collection<Integer> operators,
C objectClass)
isArray
public boolean isArray()
throws com.wewebu.ow.server.exceptions.OwException
- Specified by:
isArray
in interface OwCMISPropertyClass<O>
- Specified by:
isArray
in interface com.wewebu.ow.server.field.OwFieldDefinition
- Throws:
com.wewebu.ow.server.exceptions.OwException
isReadOnly
public boolean isReadOnly(int iContext_p)
throws com.wewebu.ow.server.exceptions.OwException
- Specified by:
isReadOnly
in interface com.wewebu.ow.server.ecm.OwPropertyClass
- Specified by:
isReadOnly
in interface OwCMISPropertyClass<O>
- Throws:
com.wewebu.ow.server.exceptions.OwException
getNonQualifiedName
public String getNonQualifiedName()
- Description copied from interface:
OwCMISPropertyClass
- Returns the non qualified name ( the CMIS definition
name of this property)
- Specified by:
getNonQualifiedName
in interface OwCMISPropertyClass<O>
- Returns:
- String representing the full qualified name
isNameProperty
public boolean isNameProperty()
throws Exception
- Specified by:
isNameProperty
in interface com.wewebu.ow.server.ecm.OwPropertyClass
- Throws:
Exception
getDisplayName
public String getDisplayName(Locale locale_p)
- Specified by:
getDisplayName
in interface com.wewebu.ow.server.field.OwFieldDefinition
getDescription
public String getDescription(Locale locale_p)
- Specified by:
getDescription
in interface com.wewebu.ow.server.field.OwFieldDefinition
getJavaClassName
public String getJavaClassName()
- Specified by:
getJavaClassName
in interface com.wewebu.ow.server.field.OwFieldDefinition
getNativeType
public Object getNativeType()
throws Exception
- Specified by:
getNativeType
in interface com.wewebu.ow.server.field.OwFieldDefinition
- Throws:
Exception
isRequired
public boolean isRequired()
throws Exception
- Specified by:
isRequired
in interface com.wewebu.ow.server.field.OwFieldDefinition
- Throws:
Exception
getMaxValue
public Object getMaxValue()
throws Exception
- Specified by:
getMaxValue
in interface com.wewebu.ow.server.field.OwFieldDefinition
- Throws:
Exception
getMinValue
public Object getMinValue()
throws Exception
- Specified by:
getMinValue
in interface com.wewebu.ow.server.field.OwFieldDefinition
- Throws:
Exception
getDefaultValue
public Object getDefaultValue()
throws Exception
- Specified by:
getDefaultValue
in interface com.wewebu.ow.server.field.OwFieldDefinition
- Throws:
Exception
getOperators
public Collection getOperators()
throws Exception
- Specified by:
getOperators
in interface com.wewebu.ow.server.field.OwFieldDefinition
- Throws:
Exception
getFormat
public OwCMISFormat getFormat()
- Specified by:
getFormat
in interface OwCMISPropertyClass<O>
- Specified by:
getFormat
in interface com.wewebu.ow.server.field.OwFieldDefinition
isHidden
public boolean isHidden(int iContext_p)
throws com.wewebu.ow.server.exceptions.OwException
- Specified by:
isHidden
in interface com.wewebu.ow.server.ecm.OwPropertyClass
- Specified by:
isHidden
in interface OwCMISPropertyClass<O>
- Throws:
com.wewebu.ow.server.exceptions.OwException
getEnums
public com.wewebu.ow.server.field.OwEnumCollection getEnums()
throws com.wewebu.ow.server.exceptions.OwException
- Specified by:
getEnums
in interface OwCMISPropertyClass<O>
- Specified by:
getEnums
in interface com.wewebu.ow.server.field.OwFieldDefinition
- Throws:
com.wewebu.ow.server.exceptions.OwException
isSystem
public boolean isSystem()
throws com.wewebu.ow.server.exceptions.OwException
- Specified by:
isSystem
in class OwCMISAbstractPropertyClass<O,C extends OwCMISObjectClass>
- Throws:
com.wewebu.ow.server.exceptions.OwException
from
public final OwCMISProperty<O> from(O... value_p)
throws com.wewebu.ow.server.exceptions.OwException
- Description copied from interface:
OwCMISPropertyClass
- Create a new Instance of the specific OwCMISProperty depending on the
current OwCMISPropertyClass.
- Specified by:
from
in interface OwCMISPropertyClass<O>
- 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
createProxy
public OwCMISVirtualPropertyClass<O> createProxy(String className)
- Specified by:
createProxy
in interface OwCMISPropertyClass<O>
- Specified by:
createProxy
in interface OwCMISVirtualPropertyClass<O>
- Overrides:
createProxy
in class OwCMISAbstractPropertyClass<O,C extends OwCMISObjectClass>
Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.