mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user