Dictionary optimisation: improve performance when getting sub classes and property defs

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6825 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Jan Vonka
2007-09-19 11:47:29 +00:00
parent 2127d7c56a
commit 7547b695ac
7 changed files with 189 additions and 56 deletions

View File

@@ -65,12 +65,26 @@ public interface DictionaryDAO extends ModelQuery
* @return the types of the model
*/
public Collection<TypeDefinition> getTypes(QName model);
/**
* @param superType
* @param follow true => follow up the super-class hierarchy, false => immediate sub types only
* @return
*/
public Collection<QName> getSubTypes(QName superType, boolean follow);
/**
* @param model the model to retrieve aspects for
* @return the aspects of the model
*/
public Collection<AspectDefinition> getAspects(QName model);
/**
* @param superAspect
* @param follow true => follow up the super-class hierarchy, false => immediate sub aspects only
* @return
*/
public Collection<QName> getSubAspects(QName superAspect, boolean follow);
/**
* @param model the model for which to get properties for