Package org.alfresco.opencmis.dictionary
Class SecondaryTypeDefinitionWrapper
- java.lang.Object
-
- org.alfresco.opencmis.dictionary.AbstractTypeDefinitionWrapper
-
- org.alfresco.opencmis.dictionary.SecondaryTypeDefinitionWrapper
-
- All Implemented Interfaces:
Serializable
,TypeDefinitionWrapper
public class SecondaryTypeDefinitionWrapper extends AbstractTypeDefinitionWrapper
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.apache.commons.logging.Log
logger
-
Fields inherited from class org.alfresco.opencmis.dictionary.AbstractTypeDefinitionWrapper
actionEvaluators, alfrescoClass, alfrescoName, parent, propertiesById, propertiesByQName, propertiesByQueryName
-
-
Constructor Summary
Constructors Constructor Description SecondaryTypeDefinitionWrapper(CMISMapping cmisMapping, PropertyAccessorMapping propertyAccessorMapping, PropertyLuceneBuilderMapping luceneBuilderMapping, String typeId, DictionaryService dictionaryService, ClassDefinition cmisClassDef)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<TypeDefinitionWrapper>
connectParentAndSubTypes(CMISMapping cmisMapping, CMISDictionaryRegistry registry, DictionaryService dictionaryService)
Collection<PropertyDefinitionWrapper>
getProperties()
Collection<PropertyDefinitionWrapper>
getProperties(boolean update)
PropertyDefinitionWrapper
getPropertyById(String propertyId)
void
resolveInheritance(CMISMapping cmisMapping, CMISDictionaryRegistry registry, DictionaryService dictionaryService)
void
updateDefinition(DictionaryService dictionaryService)
-
Methods inherited from class org.alfresco.opencmis.dictionary.AbstractTypeDefinitionWrapper
assertComplete, createActionEvaluators, createOwningPropertyDefinitions, createPropertyDefinition, getActionEvaluators, getAlfrescoClass, getAlfrescoName, getBaseTypeId, getParent, getPropertyByQName, getPropertyByQueryName, getTenantId, getTypeDefinition, getTypeId, isBaseType, registerProperty, setTypeDefDescription, setTypeDefDisplayName, setTypeDefinition, updateProperties, updateProperty, updateTypeDefInclProperties
-
-
-
-
Constructor Detail
-
SecondaryTypeDefinitionWrapper
public SecondaryTypeDefinitionWrapper(CMISMapping cmisMapping, PropertyAccessorMapping propertyAccessorMapping, PropertyLuceneBuilderMapping luceneBuilderMapping, String typeId, DictionaryService dictionaryService, ClassDefinition cmisClassDef)
-
-
Method Detail
-
connectParentAndSubTypes
public List<TypeDefinitionWrapper> connectParentAndSubTypes(CMISMapping cmisMapping, CMISDictionaryRegistry registry, DictionaryService dictionaryService)
- Specified by:
connectParentAndSubTypes
in classAbstractTypeDefinitionWrapper
-
resolveInheritance
public void resolveInheritance(CMISMapping cmisMapping, CMISDictionaryRegistry registry, DictionaryService dictionaryService)
- Specified by:
resolveInheritance
in classAbstractTypeDefinitionWrapper
-
updateDefinition
public void updateDefinition(DictionaryService dictionaryService)
- Specified by:
updateDefinition
in interfaceTypeDefinitionWrapper
- Overrides:
updateDefinition
in classAbstractTypeDefinitionWrapper
-
getPropertyById
public PropertyDefinitionWrapper getPropertyById(String propertyId)
- Specified by:
getPropertyById
in interfaceTypeDefinitionWrapper
- Overrides:
getPropertyById
in classAbstractTypeDefinitionWrapper
-
getProperties
public Collection<PropertyDefinitionWrapper> getProperties()
- Specified by:
getProperties
in interfaceTypeDefinitionWrapper
- Overrides:
getProperties
in classAbstractTypeDefinitionWrapper
-
getProperties
public Collection<PropertyDefinitionWrapper> getProperties(boolean update)
-
-