Package org.alfresco.opencmis.dictionary
Class CMISDictionaryRegistryImpl
java.lang.Object
org.alfresco.opencmis.dictionary.CMISDictionaryRegistryImpl
- All Implemented Interfaces:
CMISDictionaryRegistry
CMIS Dictionary registry
Index of CMIS Type Definitions
- Author:
- sglover
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
protected CMISAbstractDictionaryService
protected static final org.apache.commons.logging.Log
static final String
static final String
-
Constructor Summary
ConstructorsConstructorDescriptionCMISDictionaryRegistryImpl
(CMISAbstractDictionaryService cmisDictionaryService, String tenant, String parentTenant, CMISMapping cmisMapping, DictionaryService dictionaryService, CMISAbstractDictionaryService.DictionaryInitializer dictionaryInitializer) CMISDictionaryRegistryImpl
(CMISAbstractDictionaryService cmisDictionaryService, CMISMapping cmisMapping, DictionaryService dictionaryService, CMISAbstractDictionaryService.DictionaryInitializer dictionaryInitializer) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addChild
(String typeId, TypeDefinitionWrapper child) void
addModel
(CompiledModel model) getAssocDefByQName
(QName qname) getAssocDefs
(boolean includeParent) getBaseTypes
(boolean includeParent) getChildren
(String typeId) protected CMISDictionaryRegistry
getPropDefByPropId
(String propId) getPropDefByQueryName
(Object queryName) getTypeDefByQName
(QName qname) getTypeDefByQueryName
(Object queryName) getTypeDefByTypeId
(String typeId) getTypeDefByTypeId
(String typeId, boolean includeParent) getTypeDefs
(boolean includeParent) void
init()
void
Register property definitions.void
Register type definition.void
removeModel
(CompiledModel model) void
setChildren
(String typeId, List<TypeDefinitionWrapper> children) toString()
void
updateModel
(CompiledModel model)
-
Field Details
-
ALFRESCO_EXTENSION_NAMESPACE
- See Also:
-
MANDATORY_ASPECTS
- See Also:
-
MANDATORY_ASPECT
- See Also:
-
logger
protected static final org.apache.commons.logging.Log logger -
cmisDictionaryService
-
-
Constructor Details
-
CMISDictionaryRegistryImpl
public CMISDictionaryRegistryImpl(CMISAbstractDictionaryService cmisDictionaryService, CMISMapping cmisMapping, DictionaryService dictionaryService, CMISAbstractDictionaryService.DictionaryInitializer dictionaryInitializer) -
CMISDictionaryRegistryImpl
public CMISDictionaryRegistryImpl(CMISAbstractDictionaryService cmisDictionaryService, String tenant, String parentTenant, CMISMapping cmisMapping, DictionaryService dictionaryService, CMISAbstractDictionaryService.DictionaryInitializer dictionaryInitializer)
-
-
Method Details
-
getParent
-
getTenant
- Specified by:
getTenant
in interfaceCMISDictionaryRegistry
-
getChildren
- Specified by:
getChildren
in interfaceCMISDictionaryRegistry
-
setChildren
- Specified by:
setChildren
in interfaceCMISDictionaryRegistry
-
addChild
- Specified by:
addChild
in interfaceCMISDictionaryRegistry
-
getTypeDefByTypeId
- Specified by:
getTypeDefByTypeId
in interfaceCMISDictionaryRegistry
-
getTypeDefByTypeId
- Specified by:
getTypeDefByTypeId
in interfaceCMISDictionaryRegistry
-
getAssocDefByQName
- Specified by:
getAssocDefByQName
in interfaceCMISDictionaryRegistry
-
getTypeDefByQueryName
- Specified by:
getTypeDefByQueryName
in interfaceCMISDictionaryRegistry
-
getTypeDefByQName
- Specified by:
getTypeDefByQName
in interfaceCMISDictionaryRegistry
-
getPropDefByPropId
- Specified by:
getPropDefByPropId
in interfaceCMISDictionaryRegistry
-
getPropDefByQueryName
- Specified by:
getPropDefByQueryName
in interfaceCMISDictionaryRegistry
-
getTypeDefs
- Specified by:
getTypeDefs
in interfaceCMISDictionaryRegistry
-
getTypeDefs
- Specified by:
getTypeDefs
in interfaceCMISDictionaryRegistry
-
getAssocDefs
- Specified by:
getAssocDefs
in interfaceCMISDictionaryRegistry
-
getAssocDefs
- Specified by:
getAssocDefs
in interfaceCMISDictionaryRegistry
-
addModel
- Specified by:
addModel
in interfaceCMISDictionaryRegistry
-
updateModel
- Specified by:
updateModel
in interfaceCMISDictionaryRegistry
-
removeModel
- Specified by:
removeModel
in interfaceCMISDictionaryRegistry
-
init
public void init() -
getBaseTypes
- Specified by:
getBaseTypes
in interfaceCMISDictionaryRegistry
-
getBaseTypes
- Specified by:
getBaseTypes
in interfaceCMISDictionaryRegistry
-
registerTypeDefinition
Register type definition.- Specified by:
registerTypeDefinition
in interfaceCMISDictionaryRegistry
- Parameters:
typeDef
- AbstractTypeDefinitionWrapper
-
registerPropertyDefinitions
Register property definitions.- Parameters:
typeDef
- AbstractTypeDefinitionWrapper
-
toString
-