public class CMISDictionaryRegistryImpl extends Object implements CMISDictionaryRegistry
Modifier and Type | Field and Description |
---|---|
static String |
ALFRESCO_EXTENSION_NAMESPACE |
protected CMISAbstractDictionaryService |
cmisDictionaryService |
protected static org.apache.commons.logging.Log |
logger |
static String |
MANDATORY_ASPECT |
static String |
MANDATORY_ASPECTS |
Constructor and Description |
---|
CMISDictionaryRegistryImpl(CMISAbstractDictionaryService cmisDictionaryService,
CMISMapping cmisMapping,
DictionaryService dictionaryService,
CMISAbstractDictionaryService.DictionaryInitializer dictionaryInitializer) |
CMISDictionaryRegistryImpl(CMISAbstractDictionaryService cmisDictionaryService,
String tenant,
String parentTenant,
CMISMapping cmisMapping,
DictionaryService dictionaryService,
CMISAbstractDictionaryService.DictionaryInitializer dictionaryInitializer) |
public static final String ALFRESCO_EXTENSION_NAMESPACE
public static final String MANDATORY_ASPECTS
public static final String MANDATORY_ASPECT
protected static final org.apache.commons.logging.Log logger
protected CMISAbstractDictionaryService cmisDictionaryService
public CMISDictionaryRegistryImpl(CMISAbstractDictionaryService cmisDictionaryService, CMISMapping cmisMapping, DictionaryService dictionaryService, CMISAbstractDictionaryService.DictionaryInitializer dictionaryInitializer)
public CMISDictionaryRegistryImpl(CMISAbstractDictionaryService cmisDictionaryService, String tenant, String parentTenant, CMISMapping cmisMapping, DictionaryService dictionaryService, CMISAbstractDictionaryService.DictionaryInitializer dictionaryInitializer)
protected CMISDictionaryRegistry getParent()
public String getTenant()
getTenant
in interface CMISDictionaryRegistry
public List<TypeDefinitionWrapper> getChildren(String typeId)
getChildren
in interface CMISDictionaryRegistry
public void setChildren(String typeId, List<TypeDefinitionWrapper> children)
setChildren
in interface CMISDictionaryRegistry
public void addChild(String typeId, TypeDefinitionWrapper child)
addChild
in interface CMISDictionaryRegistry
public TypeDefinitionWrapper getTypeDefByTypeId(String typeId)
getTypeDefByTypeId
in interface CMISDictionaryRegistry
public TypeDefinitionWrapper getTypeDefByTypeId(String typeId, boolean includeParent)
getTypeDefByTypeId
in interface CMISDictionaryRegistry
public TypeDefinitionWrapper getAssocDefByQName(QName qname)
getAssocDefByQName
in interface CMISDictionaryRegistry
public TypeDefinitionWrapper getTypeDefByQueryName(Object queryName)
getTypeDefByQueryName
in interface CMISDictionaryRegistry
public TypeDefinitionWrapper getTypeDefByQName(QName qname)
getTypeDefByQName
in interface CMISDictionaryRegistry
public PropertyDefinitionWrapper getPropDefByPropId(String propId)
getPropDefByPropId
in interface CMISDictionaryRegistry
public PropertyDefinitionWrapper getPropDefByQueryName(Object queryName)
getPropDefByQueryName
in interface CMISDictionaryRegistry
public Collection<AbstractTypeDefinitionWrapper> getTypeDefs()
getTypeDefs
in interface CMISDictionaryRegistry
public Collection<AbstractTypeDefinitionWrapper> getTypeDefs(boolean includeParent)
getTypeDefs
in interface CMISDictionaryRegistry
public Collection<AbstractTypeDefinitionWrapper> getAssocDefs()
getAssocDefs
in interface CMISDictionaryRegistry
public Collection<AbstractTypeDefinitionWrapper> getAssocDefs(boolean includeParent)
getAssocDefs
in interface CMISDictionaryRegistry
public void addModel(CompiledModel model)
addModel
in interface CMISDictionaryRegistry
public void updateModel(CompiledModel model)
updateModel
in interface CMISDictionaryRegistry
public void removeModel(CompiledModel model)
removeModel
in interface CMISDictionaryRegistry
public void init()
public List<TypeDefinitionWrapper> getBaseTypes()
getBaseTypes
in interface CMISDictionaryRegistry
public List<TypeDefinitionWrapper> getBaseTypes(boolean includeParent)
getBaseTypes
in interface CMISDictionaryRegistry
public void registerTypeDefinition(AbstractTypeDefinitionWrapper typeDef)
registerTypeDefinition
in interface CMISDictionaryRegistry
typeDef
- AbstractTypeDefinitionWrapperpublic void registerPropertyDefinitions(AbstractTypeDefinitionWrapper typeDef)
typeDef
- AbstractTypeDefinitionWrapperCopyright © 2005–2018 Alfresco Software. All rights reserved.