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 DictionaryDAOprotected static final org.apache.commons.logging.Log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected voidaddPrefixImpl(String prefix, String uri) voidprotected voidaddURIImpl(String uri) voidclear()protected AspectDefinitiongetAspectImpl(QName aspectName) getAspects(boolean includeInherited) getAssociation(QName assocName) protected AssociationDefinitiongetAssociationImpl(QName assocName) getAssociations(boolean includeInherited) protected ClassDefinitiongetClassImpl(QName className) getCompiledModels(boolean includeInherited) getConstraint(QName constraintQName) protected ConstraintDefinitiongetConstraintImpl(QName constraintQName) getDataType(Class javaClass) getDataType(QName typeName) protected DataTypeDefinitiongetDataTypeImp(QName typeName) protected DataTypeDefinitiongetDataTypeImpl(Class javaClass) protected CompiledModelgetModelImpl(QName modelName) getModelsForUri(String uri) protected List<CompiledModel>getNamespaceURI(String prefix) getPrefixes(String URI) protected Collection<String>getPrefixesImpl(String URI) getProperty(QName propertyName) protected PropertyDefinitiongetPropertyImpl(QName propertyName) protected TypeDefinitiongetTypeImpl(QName typeName) getTypes(boolean includeInherited) booleanbooleanvoidinit()protected abstract voidinitImpl()booleanisModelInherited(QName modelName) protected voidmapUriToModel(String uri, CompiledModel model) booleanmodelExists(QName modelName) putModel(CompiledModel model) protected QNameputModelImpl(CompiledModel model) voidremove()protected abstract voidvoidremoveModel(QName modelName) protected CompiledModelremoveModelImpl(QName modelName) voidremovePrefix(String prefix) protected booleanremovePrefixImpl(String prefix) voidprotected booleanremoveURIImpl(String uri) protected voidunmapUriToModel(String uri, CompiledModel model) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
clearin interfaceDictionaryRegistry
-
getUriToModels
- Specified by:
getUriToModelsin interfaceDictionaryRegistry
-
getCompiledModels
- Specified by:
getCompiledModelsin interfaceDictionaryRegistry
-
getModelsForUri
- Specified by:
getModelsForUriin interfaceDictionaryRegistry
-
putModel
- Specified by:
putModelin interfaceDictionaryRegistry
-
getModel
- Specified by:
getModelin interfaceDictionaryRegistry
-
modelExists
- Specified by:
modelExistsin interfaceDictionaryRegistry
-
removeModel
- Specified by:
removeModelin interfaceDictionaryRegistry
-
removeModelImpl
-
getModelImpl
-
getModelsForUriImpl
-
unmapUriToModel
-
mapUriToModel
-
putModelImpl
-
getAspect
- Specified by:
getAspectin interfaceDictionaryRegistry
-
getAspectImpl
-
getAssociation
- Specified by:
getAssociationin interfaceDictionaryRegistry
-
getAssociationImpl
-
getClass
- Specified by:
getClassin interfaceDictionaryRegistry
-
getClassImpl
-
getProperty
- Specified by:
getPropertyin interfaceDictionaryRegistry
-
getPropertyImpl
-
getType
- Specified by:
getTypein interfaceDictionaryRegistry
-
getTypeImpl
-
getConstraint
- Specified by:
getConstraintin interfaceDictionaryRegistry
-
getConstraintImpl
-
getDataType
- Specified by:
getDataTypein interfaceDictionaryRegistry
-
getDataTypeImp
-
getDataType
- Specified by:
getDataTypein interfaceDictionaryRegistry
-
getDataTypeImpl
-
getPrefixesCacheImpl
-
getPrefixesCache
- Specified by:
getPrefixesCachein interfaceDictionaryRegistry
-
getUrisCache
- Specified by:
getUrisCachein interfaceDictionaryRegistry
-
getUrisCacheImpl
-
getPrefixes
- Specified by:
getPrefixesin interfaceDictionaryRegistry
-
getPrefixesImpl
-
addURI
- Specified by:
addURIin interfaceDictionaryRegistry
-
addURIImpl
-
hasURI
- Specified by:
hasURIin interfaceDictionaryRegistry
-
addPrefix
- Specified by:
addPrefixin interfaceDictionaryRegistry
-
hasPrefix
- Specified by:
hasPrefixin interfaceDictionaryRegistry
-
addPrefixImpl
-
removeURI
- Specified by:
removeURIin interfaceDictionaryRegistry
-
removePrefix
- Specified by:
removePrefixin interfaceDictionaryRegistry
-
removeURIImpl
-
removePrefixImpl
-
getTypes
- Specified by:
getTypesin interfaceDictionaryRegistry
-
getAssociations
- Specified by:
getAssociationsin interfaceDictionaryRegistry
-
getAspects
- Specified by:
getAspectsin interfaceDictionaryRegistry
-
initImpl
protected abstract void initImpl() -
init
public void init()- Specified by:
initin interfaceDictionaryRegistry
-
removeImpl
protected abstract void removeImpl() -
remove
public void remove()- Specified by:
removein interfaceDictionaryRegistry
-
isModelInherited
- Specified by:
isModelInheritedin interfaceDictionaryRegistry
-
getNamespaceURI
- Specified by:
getNamespaceURIin interfaceDictionaryRegistry
-