public class FilteredDictionaryComponent extends DictionaryComponent
Constructor and Description |
---|
FilteredDictionaryComponent() |
Modifier and Type | Method and Description |
---|---|
Collection<QName> |
getAllAspects() |
Collection<QName> |
getAllAssociations()
Get all the association definitions
|
Collection<QName> |
getAllTypes() |
AspectDefinition |
getAspect(QName name) |
Collection<QName> |
getSubAspects(QName superAspect,
boolean follow) |
Collection<QName> |
getSubTypes(QName superType,
boolean follow)
Get the sub types of the type.
|
TypeDefinition |
getType(QName name) |
void |
setFilter(QNameFilter filter) |
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
public Collection<QName> getAllTypes()
getAllTypes
in interface DictionaryService
getAllTypes
in class DictionaryComponent
public Collection<QName> getSubTypes(QName superType, boolean follow)
DictionaryService
getSubTypes
in interface DictionaryService
getSubTypes
in class DictionaryComponent
superType
- the qualified name of the typefollow
- true => all sub-type descendants, false => immediate sub-type childrenpublic Collection<QName> getAllAspects()
getAllAspects
in interface DictionaryService
getAllAspects
in class DictionaryComponent
public Collection<QName> getAllAssociations()
DictionaryService
getAllAssociations
in interface DictionaryService
getAllAssociations
in class DictionaryComponent
public Collection<QName> getSubAspects(QName superAspect, boolean follow)
getSubAspects
in interface DictionaryService
getSubAspects
in class DictionaryComponent
superAspect
- QNamefollow
- true => follow up the super-class hierarchy, false => immediate sub aspects onlypublic TypeDefinition getType(QName name)
getType
in interface DictionaryService
getType
in class DictionaryComponent
name
- the name of the type to retrievepublic AspectDefinition getAspect(QName name)
getAspect
in interface DictionaryService
getAspect
in class DictionaryComponent
name
- the name of the aspect to retrievepublic void setFilter(QNameFilter filter)
Copyright © 2005–2018 Alfresco Software. All rights reserved.