First-cut dynamic Dictionary & Namespaces - updated caches to be cluster-aware & tenant-aware

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6675 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Jan Vonka
2007-09-04 14:23:55 +00:00
parent d51344044d
commit 6e854e6166
16 changed files with 1992 additions and 238 deletions

View File

@@ -93,8 +93,9 @@ public interface DictionaryDAO extends ModelQuery
* Adds a model to the dictionary. The model is compiled and validated.
*
* @param model the model to add
* @return QName name of model
*/
public void putModel(M2Model model);
public QName putModel(M2Model model);
/**
* Removes a model from the dictionary. The types and aspect in the model will no longer be
@@ -114,4 +115,26 @@ public interface DictionaryDAO extends ModelQuery
*/
public Collection<PropertyDefinition> getProperties(QName modelName, QName dataType);
/**
*
* Register with the Dictionary
*
* @param dictionaryDeployer
*/
public void register(DictionaryDeployer dictionaryDeployer);
/**
* Reset the Dictionary - destroy & re-initialise
*/
public void reset();
/**
* Initialise the Dictionary
*/
public void init();
/**
* Destroy the Dictionary
*/
public void destroy();
}