public class TenantDictionaryRegistryImpl extends AbstractDictionaryRegistry
dictionaryDAO, logger
Constructor and Description |
---|
TenantDictionaryRegistryImpl(DictionaryDAO dictionaryDAO,
String tenantDomain) |
Modifier and Type | Method and Description |
---|---|
void |
addPrefix(String prefix,
String uri) |
void |
addURI(String uri) |
AspectDefinition |
getAspect(QName aspectName) |
Map<QName,CompiledModel> |
getCompiledModels(boolean includeInherited) |
CompiledModel |
getModel(QName name) |
List<CompiledModel> |
getModelsForUri(String uri) |
Collection<String> |
getPrefixes(String URI) |
Map<String,String> |
getPrefixesCache() |
String |
getTenantDomain() |
TypeDefinition |
getType(QName typeName) |
List<String> |
getUrisCache() |
protected void |
initImpl() |
boolean |
isModelInherited(QName modelName) |
QName |
putModelImpl(CompiledModel model) |
void |
removeImpl() |
void |
removeModel(QName modelName) |
void |
removePrefix(String prefix) |
void |
removeURI(String uri) |
addPrefixImpl, addURIImpl, clear, getAspectImpl, getAspects, getAssociation, getAssociationImpl, getAssociations, getClass, getClassImpl, getConstraint, getConstraintImpl, getDataType, getDataType, getDataTypeImp, getDataTypeImpl, getModelImpl, getModelsForUriImpl, getNamespaceURI, getPrefixesCacheImpl, getPrefixesImpl, getProperty, getPropertyImpl, getTypeImpl, getTypes, getUrisCacheImpl, getUriToModels, hasPrefix, hasURI, init, mapUriToModel, modelExists, putModel, remove, removeModelImpl, removePrefixImpl, removeURIImpl, unmapUriToModel
public TenantDictionaryRegistryImpl(DictionaryDAO dictionaryDAO, String tenantDomain)
public String getTenantDomain()
public QName putModelImpl(CompiledModel model)
putModelImpl
in class AbstractDictionaryRegistry
public Map<QName,CompiledModel> getCompiledModels(boolean includeInherited)
getCompiledModels
in interface DictionaryRegistry
getCompiledModels
in class AbstractDictionaryRegistry
public List<CompiledModel> getModelsForUri(String uri)
getModelsForUri
in interface DictionaryRegistry
getModelsForUri
in class AbstractDictionaryRegistry
public CompiledModel getModel(QName name)
getModel
in interface DictionaryRegistry
getModel
in class AbstractDictionaryRegistry
public void removeModel(QName modelName)
removeModel
in interface DictionaryRegistry
removeModel
in class AbstractDictionaryRegistry
public AspectDefinition getAspect(QName aspectName)
getAspect
in interface DictionaryRegistry
getAspect
in class AbstractDictionaryRegistry
public boolean isModelInherited(QName modelName)
isModelInherited
in interface DictionaryRegistry
isModelInherited
in class AbstractDictionaryRegistry
public Map<String,String> getPrefixesCache()
getPrefixesCache
in interface DictionaryRegistry
getPrefixesCache
in class AbstractDictionaryRegistry
public List<String> getUrisCache()
getUrisCache
in interface DictionaryRegistry
getUrisCache
in class AbstractDictionaryRegistry
public Collection<String> getPrefixes(String URI)
getPrefixes
in interface DictionaryRegistry
getPrefixes
in class AbstractDictionaryRegistry
public void addURI(String uri)
addURI
in interface DictionaryRegistry
addURI
in class AbstractDictionaryRegistry
public void addPrefix(String prefix, String uri)
addPrefix
in interface DictionaryRegistry
addPrefix
in class AbstractDictionaryRegistry
public void removeURI(String uri)
removeURI
in interface DictionaryRegistry
removeURI
in class AbstractDictionaryRegistry
public void removePrefix(String prefix)
removePrefix
in interface DictionaryRegistry
removePrefix
in class AbstractDictionaryRegistry
protected void initImpl()
initImpl
in class AbstractDictionaryRegistry
public TypeDefinition getType(QName typeName)
getType
in interface DictionaryRegistry
getType
in class AbstractDictionaryRegistry
public void removeImpl()
removeImpl
in class AbstractDictionaryRegistry
Copyright © 2005–2018 Alfresco Software. All rights reserved.