Package org.alfresco.repo.dictionary
Class AbstractDictionaryRegistry
java.lang.Object
org.alfresco.repo.dictionary.AbstractDictionaryRegistry
- All Implemented Interfaces:
DictionaryRegistry
- Direct Known Subclasses:
CoreDictionaryRegistryImpl
,TenantDictionaryRegistryImpl
- Author:
- sglover
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DictionaryDAO
protected static final org.apache.commons.logging.Log
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
protected void
addPrefixImpl
(String prefix, String uri) void
protected void
addURIImpl
(String uri) void
clear()
protected AspectDefinition
getAspectImpl
(QName aspectName) getAspects
(boolean includeInherited) getAssociation
(QName assocName) protected AssociationDefinition
getAssociationImpl
(QName assocName) getAssociations
(boolean includeInherited) protected ClassDefinition
getClassImpl
(QName className) getCompiledModels
(boolean includeInherited) getConstraint
(QName constraintQName) protected ConstraintDefinition
getConstraintImpl
(QName constraintQName) getDataType
(Class javaClass) getDataType
(QName typeName) protected DataTypeDefinition
getDataTypeImp
(QName typeName) protected DataTypeDefinition
getDataTypeImpl
(Class javaClass) protected CompiledModel
getModelImpl
(QName modelName) getModelsForUri
(String uri) protected List<CompiledModel>
getNamespaceURI
(String prefix) getPrefixes
(String URI) protected Collection<String>
getPrefixesImpl
(String URI) getProperty
(QName propertyName) protected PropertyDefinition
getPropertyImpl
(QName propertyName) protected TypeDefinition
getTypeImpl
(QName typeName) getTypes
(boolean includeInherited) boolean
boolean
void
init()
protected abstract void
initImpl()
boolean
isModelInherited
(QName modelName) protected void
mapUriToModel
(String uri, CompiledModel model) boolean
modelExists
(QName modelName) putModel
(CompiledModel model) protected QName
putModelImpl
(CompiledModel model) void
remove()
protected abstract void
void
removeModel
(QName modelName) protected CompiledModel
removeModelImpl
(QName modelName) void
removePrefix
(String prefix) protected boolean
removePrefixImpl
(String prefix) void
protected boolean
removeURIImpl
(String uri) protected void
unmapUriToModel
(String uri, CompiledModel model) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.alfresco.repo.dictionary.DictionaryRegistry
getTenantDomain
-
Field Details
-
logger
protected static final org.apache.commons.logging.Log logger -
dictionaryDAO
-
-
Constructor Details
-
AbstractDictionaryRegistry
-
-
Method Details
-
clear
public void clear()- Specified by:
clear
in interfaceDictionaryRegistry
-
getUriToModels
- Specified by:
getUriToModels
in interfaceDictionaryRegistry
-
getCompiledModels
- Specified by:
getCompiledModels
in interfaceDictionaryRegistry
-
getModelsForUri
- Specified by:
getModelsForUri
in interfaceDictionaryRegistry
-
putModel
- Specified by:
putModel
in interfaceDictionaryRegistry
-
getModel
- Specified by:
getModel
in interfaceDictionaryRegistry
-
modelExists
- Specified by:
modelExists
in interfaceDictionaryRegistry
-
removeModel
- Specified by:
removeModel
in interfaceDictionaryRegistry
-
removeModelImpl
-
getModelImpl
-
getModelsForUriImpl
-
unmapUriToModel
-
mapUriToModel
-
putModelImpl
-
getAspect
- Specified by:
getAspect
in interfaceDictionaryRegistry
-
getAspectImpl
-
getAssociation
- Specified by:
getAssociation
in interfaceDictionaryRegistry
-
getAssociationImpl
-
getClass
- Specified by:
getClass
in interfaceDictionaryRegistry
-
getClassImpl
-
getProperty
- Specified by:
getProperty
in interfaceDictionaryRegistry
-
getPropertyImpl
-
getType
- Specified by:
getType
in interfaceDictionaryRegistry
-
getTypeImpl
-
getConstraint
- Specified by:
getConstraint
in interfaceDictionaryRegistry
-
getConstraintImpl
-
getDataType
- Specified by:
getDataType
in interfaceDictionaryRegistry
-
getDataTypeImp
-
getDataType
- Specified by:
getDataType
in interfaceDictionaryRegistry
-
getDataTypeImpl
-
getPrefixesCacheImpl
-
getPrefixesCache
- Specified by:
getPrefixesCache
in interfaceDictionaryRegistry
-
getUrisCache
- Specified by:
getUrisCache
in interfaceDictionaryRegistry
-
getUrisCacheImpl
-
getPrefixes
- Specified by:
getPrefixes
in interfaceDictionaryRegistry
-
getPrefixesImpl
-
addURI
- Specified by:
addURI
in interfaceDictionaryRegistry
-
addURIImpl
-
hasURI
- Specified by:
hasURI
in interfaceDictionaryRegistry
-
addPrefix
- Specified by:
addPrefix
in interfaceDictionaryRegistry
-
hasPrefix
- Specified by:
hasPrefix
in interfaceDictionaryRegistry
-
addPrefixImpl
-
removeURI
- Specified by:
removeURI
in interfaceDictionaryRegistry
-
removePrefix
- Specified by:
removePrefix
in interfaceDictionaryRegistry
-
removeURIImpl
-
removePrefixImpl
-
getTypes
- Specified by:
getTypes
in interfaceDictionaryRegistry
-
getAssociations
- Specified by:
getAssociations
in interfaceDictionaryRegistry
-
getAspects
- Specified by:
getAspects
in interfaceDictionaryRegistry
-
initImpl
protected abstract void initImpl() -
init
public void init()- Specified by:
init
in interfaceDictionaryRegistry
-
removeImpl
protected abstract void removeImpl() -
remove
public void remove()- Specified by:
remove
in interfaceDictionaryRegistry
-
isModelInherited
- Specified by:
isModelInherited
in interfaceDictionaryRegistry
-
getNamespaceURI
- Specified by:
getNamespaceURI
in interfaceDictionaryRegistry
-