public abstract class AbstractTypeDefinitionWrapper extends Object implements TypeDefinitionWrapper, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected Map<org.apache.chemistry.opencmis.commons.enums.Action,CMISActionEvaluator> |
actionEvaluators |
protected QName |
alfrescoClass |
protected QName |
alfrescoName |
protected TypeDefinitionWrapper |
parent |
protected Map<String,PropertyDefinitionWrapper> |
propertiesById |
protected Map<QName,PropertyDefinitionWrapper> |
propertiesByQName |
protected Map<String,PropertyDefinitionWrapper> |
propertiesByQueryName |
protected org.apache.chemistry.opencmis.commons.impl.dataobjects.AbstractTypeDefinition |
typeDef |
protected org.apache.chemistry.opencmis.commons.impl.dataobjects.AbstractTypeDefinition |
typeDefInclProperties |
| Constructor and Description |
|---|
AbstractTypeDefinitionWrapper() |
| Modifier and Type | Method and Description |
|---|---|
void |
assertComplete() |
abstract List<TypeDefinitionWrapper> |
connectParentAndSubTypes(CMISMapping cmisMapping,
CMISDictionaryRegistry registry,
DictionaryService dictionaryService) |
protected void |
createActionEvaluators(PropertyAccessorMapping propertyAccessorMapping,
org.apache.chemistry.opencmis.commons.enums.BaseTypeId baseTypeId) |
protected void |
createOwningPropertyDefinitions(CMISMapping cmisMapping,
PropertyAccessorMapping propertyAccessorMapping,
PropertyLuceneBuilderMapping luceneBuilderMapping,
DictionaryService dictionaryService,
ClassDefinition cmisClassDef)
Adds all property definitions owned by that type.
|
protected org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<?> |
createPropertyDefinition(CMISMapping cmisMapping,
String id,
QName alfrescoPropName,
DictionaryService dictionaryService,
PropertyDefinition propDef,
boolean inherited)
Creates a property definition object.
|
Map<org.apache.chemistry.opencmis.commons.enums.Action,CMISActionEvaluator> |
getActionEvaluators() |
QName |
getAlfrescoClass() |
QName |
getAlfrescoName() |
org.apache.chemistry.opencmis.commons.enums.BaseTypeId |
getBaseTypeId() |
TypeDefinitionWrapper |
getParent() |
Collection<PropertyDefinitionWrapper> |
getProperties() |
PropertyDefinitionWrapper |
getPropertyById(String propertyId) |
PropertyDefinitionWrapper |
getPropertyByQName(QName name) |
PropertyDefinitionWrapper |
getPropertyByQueryName(String queryName) |
String |
getTenantId() |
org.apache.chemistry.opencmis.commons.definitions.TypeDefinition |
getTypeDefinition(boolean includePropertyDefinitions) |
String |
getTypeId() |
boolean |
isBaseType() |
protected void |
registerProperty(PropertyDefinitionWrapper propDefWrapper)
Registers a property definition with this type
|
abstract void |
resolveInheritance(CMISMapping cmisMapping,
CMISDictionaryRegistry registry,
DictionaryService dictionaryService) |
void |
setTypeDefDescription(String desc) |
void |
setTypeDefDisplayName(String name) |
protected void |
setTypeDefinition(org.apache.chemistry.opencmis.commons.impl.dataobjects.AbstractTypeDefinition typeDef,
org.apache.chemistry.opencmis.commons.impl.dataobjects.AbstractTypeDefinition typeDefInclProperties) |
void |
updateDefinition(DictionaryService dictionaryService) |
void |
updateProperties(DictionaryService dictionaryService) |
void |
updateProperty(DictionaryService dictionaryService,
PropertyDefinitionWrapper propertyDefWrap) |
void |
updateTypeDefInclProperties() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPropertiesprotected org.apache.chemistry.opencmis.commons.impl.dataobjects.AbstractTypeDefinition typeDef
protected org.apache.chemistry.opencmis.commons.impl.dataobjects.AbstractTypeDefinition typeDefInclProperties
protected TypeDefinitionWrapper parent
protected QName alfrescoName
protected QName alfrescoClass
protected Map<org.apache.chemistry.opencmis.commons.enums.Action,CMISActionEvaluator> actionEvaluators
protected Map<String,PropertyDefinitionWrapper> propertiesById
protected Map<String,PropertyDefinitionWrapper> propertiesByQueryName
protected Map<QName,PropertyDefinitionWrapper> propertiesByQName
public String getTenantId()
getTenantId in interface TypeDefinitionWrapperpublic org.apache.chemistry.opencmis.commons.definitions.TypeDefinition getTypeDefinition(boolean includePropertyDefinitions)
getTypeDefinition in interface TypeDefinitionWrapperprotected void setTypeDefinition(org.apache.chemistry.opencmis.commons.impl.dataobjects.AbstractTypeDefinition typeDef,
org.apache.chemistry.opencmis.commons.impl.dataobjects.AbstractTypeDefinition typeDefInclProperties)
public String getTypeId()
getTypeId in interface TypeDefinitionWrapperpublic org.apache.chemistry.opencmis.commons.enums.BaseTypeId getBaseTypeId()
getBaseTypeId in interface TypeDefinitionWrapperpublic boolean isBaseType()
isBaseType in interface TypeDefinitionWrapperpublic QName getAlfrescoName()
getAlfrescoName in interface TypeDefinitionWrapperpublic QName getAlfrescoClass()
getAlfrescoClass in interface TypeDefinitionWrapperpublic TypeDefinitionWrapper getParent()
getParent in interface TypeDefinitionWrapperpublic Map<org.apache.chemistry.opencmis.commons.enums.Action,CMISActionEvaluator> getActionEvaluators()
getActionEvaluators in interface TypeDefinitionWrapperpublic Collection<PropertyDefinitionWrapper> getProperties()
getProperties in interface TypeDefinitionWrapperpublic PropertyDefinitionWrapper getPropertyById(String propertyId)
getPropertyById in interface TypeDefinitionWrapperpublic PropertyDefinitionWrapper getPropertyByQueryName(String queryName)
getPropertyByQueryName in interface TypeDefinitionWrapperpublic PropertyDefinitionWrapper getPropertyByQName(QName name)
getPropertyByQName in interface TypeDefinitionWrapperpublic void updateDefinition(DictionaryService dictionaryService)
updateDefinition in interface TypeDefinitionWrapperpublic void updateProperties(DictionaryService dictionaryService)
public void updateProperty(DictionaryService dictionaryService, PropertyDefinitionWrapper propertyDefWrap)
public void updateTypeDefInclProperties()
public void setTypeDefDisplayName(String name)
public void setTypeDefDescription(String desc)
public abstract List<TypeDefinitionWrapper> connectParentAndSubTypes(CMISMapping cmisMapping, CMISDictionaryRegistry registry, DictionaryService dictionaryService)
public abstract void resolveInheritance(CMISMapping cmisMapping, CMISDictionaryRegistry registry, DictionaryService dictionaryService)
public void assertComplete()
protected void createOwningPropertyDefinitions(CMISMapping cmisMapping, PropertyAccessorMapping propertyAccessorMapping, PropertyLuceneBuilderMapping luceneBuilderMapping, DictionaryService dictionaryService, ClassDefinition cmisClassDef)
protected void registerProperty(PropertyDefinitionWrapper propDefWrapper)
protected org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition<?> createPropertyDefinition(CMISMapping cmisMapping, String id, QName alfrescoPropName, DictionaryService dictionaryService, PropertyDefinition propDef, boolean inherited)
protected void createActionEvaluators(PropertyAccessorMapping propertyAccessorMapping, org.apache.chemistry.opencmis.commons.enums.BaseTypeId baseTypeId)
Copyright © 2005–2019 Alfresco Software. All rights reserved.