Package org.alfresco.opencmis.dictionary
Class FilteredDictionaryComponent
java.lang.Object
org.alfresco.repo.dictionary.DictionaryComponent
org.alfresco.opencmis.dictionary.FilteredDictionaryComponent
- All Implemented Interfaces:
TenantDeployer,DictionaryService,MessageLookup
A DictionaryComponent that uses a QNameFilter to constrain what is returned.
- Author:
- Gethin James
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet all the association definitionsgetSubAspects(QName superAspect, boolean follow) getSubTypes(QName superType, boolean follow) Get the sub types of the type.voidsetFilter(QNameFilter filter) Methods inherited from class org.alfresco.repo.dictionary.DictionaryComponent
destroy, getAllAspects, getAllAssociations, getAllDataTypes, getAllModels, getAllModels, getAllProperties, getAllTypes, getAnonymousType, getAnonymousType, getAspects, getAssociation, getAssociations, getClass, getConstraint, getConstraints, getConstraints, getDataType, getDataType, getDataTypes, getMessage, getMessage, getMessage, getMessage, getModel, getModelByNamespaceUri, getProperties, getProperties, getProperty, getProperty, getPropertyDefs, getTypes, init, isSubClass, onDisableTenant, onEnableTenant, setDictionaryDAO, setMessageLookup
-
Constructor Details
-
FilteredDictionaryComponent
public FilteredDictionaryComponent()
-
-
Method Details
-
getAllTypes
- Specified by:
getAllTypesin interfaceDictionaryService- Overrides:
getAllTypesin classDictionaryComponent- Returns:
- the names of all types that have been registered with the Repository
-
getSubTypes
Description copied from interface:DictionaryServiceGet the sub types of the type. The returned list includes the base type which is passed in as a parameter.- Specified by:
getSubTypesin interfaceDictionaryService- Overrides:
getSubTypesin classDictionaryComponent- Parameters:
superType- the qualified name of the typefollow- true => all sub-type descendants, false => immediate sub-type children- Returns:
- the names of the sub types of the specified type, including the value passed in.
-
getAllAspects
- Specified by:
getAllAspectsin interfaceDictionaryService- Overrides:
getAllAspectsin classDictionaryComponent- Returns:
- the names of all aspects that have been registered with the Repository
-
getAllAssociations
Description copied from interface:DictionaryServiceGet all the association definitions- Specified by:
getAllAssociationsin interfaceDictionaryService- Overrides:
getAllAssociationsin classDictionaryComponent- Returns:
- all the association qnames
-
getSubAspects
- Specified by:
getSubAspectsin interfaceDictionaryService- Overrides:
getSubAspectsin classDictionaryComponent- Parameters:
superAspect- QNamefollow- true => follow up the super-class hierarchy, false => immediate sub aspects only- Returns:
- the sub aspects of specified aspect
-
getType
- Specified by:
getTypein interfaceDictionaryService- Overrides:
getTypein classDictionaryComponent- Parameters:
name- the name of the type to retrieve- Returns:
- the type definition (or null, if it doesn't exist)
-
getAspect
- Specified by:
getAspectin interfaceDictionaryService- Overrides:
getAspectin classDictionaryComponent- Parameters:
name- the name of the aspect to retrieve- Returns:
- the aspect definition (or null, if it doesn't exist)
-
setFilter
-