public abstract class AbstractDictionaryRegistry extends Object implements DictionaryRegistry
| Modifier and Type | Field and Description |
|---|---|
protected DictionaryDAO |
dictionaryDAO |
protected static org.apache.commons.logging.Log |
logger |
| Constructor and Description |
|---|
AbstractDictionaryRegistry(DictionaryDAO dictionaryDAO) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTenantDomainprotected static final org.apache.commons.logging.Log logger
protected DictionaryDAO dictionaryDAO
public AbstractDictionaryRegistry(DictionaryDAO dictionaryDAO)
public void clear()
clear in interface DictionaryRegistrypublic Map<String,List<CompiledModel>> getUriToModels()
getUriToModels in interface DictionaryRegistrypublic Map<QName,CompiledModel> getCompiledModels(boolean includeInherited)
getCompiledModels in interface DictionaryRegistrypublic List<CompiledModel> getModelsForUri(String uri)
getModelsForUri in interface DictionaryRegistrypublic QName putModel(CompiledModel model)
putModel in interface DictionaryRegistrypublic CompiledModel getModel(QName modelName)
getModel in interface DictionaryRegistrypublic boolean modelExists(QName modelName)
modelExists in interface DictionaryRegistrypublic void removeModel(QName modelName)
removeModel in interface DictionaryRegistryprotected CompiledModel removeModelImpl(QName modelName)
protected CompiledModel getModelImpl(QName modelName)
protected List<CompiledModel> getModelsForUriImpl(String uri)
protected void unmapUriToModel(String uri, CompiledModel model)
protected void mapUriToModel(String uri, CompiledModel model)
protected QName putModelImpl(CompiledModel model)
public AspectDefinition getAspect(QName aspectName)
getAspect in interface DictionaryRegistryprotected AspectDefinition getAspectImpl(QName aspectName)
public AssociationDefinition getAssociation(QName assocName)
getAssociation in interface DictionaryRegistryprotected AssociationDefinition getAssociationImpl(QName assocName)
public ClassDefinition getClass(QName className)
getClass in interface DictionaryRegistryprotected ClassDefinition getClassImpl(QName className)
public PropertyDefinition getProperty(QName propertyName)
getProperty in interface DictionaryRegistryprotected PropertyDefinition getPropertyImpl(QName propertyName)
public TypeDefinition getType(QName typeName)
getType in interface DictionaryRegistryprotected TypeDefinition getTypeImpl(QName typeName)
public ConstraintDefinition getConstraint(QName constraintQName)
getConstraint in interface DictionaryRegistryprotected ConstraintDefinition getConstraintImpl(QName constraintQName)
public DataTypeDefinition getDataType(QName typeName)
getDataType in interface DictionaryRegistryprotected DataTypeDefinition getDataTypeImp(QName typeName)
public DataTypeDefinition getDataType(Class javaClass)
getDataType in interface DictionaryRegistryprotected DataTypeDefinition getDataTypeImpl(Class javaClass)
public Map<String,String> getPrefixesCache()
getPrefixesCache in interface DictionaryRegistrypublic List<String> getUrisCache()
getUrisCache in interface DictionaryRegistrypublic Collection<String> getPrefixes(String URI)
getPrefixes in interface DictionaryRegistryprotected Collection<String> getPrefixesImpl(String URI)
public void addURI(String uri)
addURI in interface DictionaryRegistryprotected void addURIImpl(String uri)
public boolean hasURI(String uri)
hasURI in interface DictionaryRegistrypublic void addPrefix(String prefix, String uri)
addPrefix in interface DictionaryRegistrypublic boolean hasPrefix(String prefix)
hasPrefix in interface DictionaryRegistrypublic void removeURI(String uri)
removeURI in interface DictionaryRegistrypublic void removePrefix(String prefix)
removePrefix in interface DictionaryRegistryprotected boolean removeURIImpl(String uri)
protected boolean removePrefixImpl(String prefix)
public Collection<QName> getTypes(boolean includeInherited)
getTypes in interface DictionaryRegistrypublic Collection<QName> getAssociations(boolean includeInherited)
getAssociations in interface DictionaryRegistrypublic Collection<QName> getAspects(boolean includeInherited)
getAspects in interface DictionaryRegistryprotected abstract void initImpl()
public void init()
init in interface DictionaryRegistryprotected abstract void removeImpl()
public void remove()
remove in interface DictionaryRegistrypublic boolean isModelInherited(QName modelName)
isModelInherited in interface DictionaryRegistrypublic String getNamespaceURI(String prefix)
getNamespaceURI in interface DictionaryRegistryCopyright © 2005–2019 Alfresco Software. All rights reserved.