public final class DataDictionary
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
DataDictionary(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
Constructor
|
Modifier and Type | Method and Description |
---|---|
org.alfresco.service.cmr.dictionary.AssociationDefinition |
getAssociationDefinition(Node node,
java.lang.String association)
Returns the association definition for the given association on the given node
|
org.alfresco.service.cmr.dictionary.PropertyDefinition |
getPropertyDefinition(Node node,
java.lang.String property)
Returns the property definition for the given property on the given node
|
org.alfresco.service.cmr.dictionary.TypeDefinition |
getTypeDef(org.alfresco.service.namespace.QName type)
Returns the type definition for the type represented by the given qname
|
org.alfresco.service.cmr.dictionary.TypeDefinition |
getTypeDef(org.alfresco.service.namespace.QName type,
java.util.Collection optionalAspects)
Returns the type definition for the type represented by the given qname
and for all the given aspects
|
public DataDictionary(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
dictionaryService
- The dictionary service to use to retrieve the datapublic org.alfresco.service.cmr.dictionary.TypeDefinition getTypeDef(org.alfresco.service.namespace.QName type)
type
- The qname of the type to lookup the definition forpublic org.alfresco.service.cmr.dictionary.TypeDefinition getTypeDef(org.alfresco.service.namespace.QName type, java.util.Collection optionalAspects)
type
- The type to retrieve the definition foroptionalAspects
- A list of aspects to retrieve the definition forpublic org.alfresco.service.cmr.dictionary.PropertyDefinition getPropertyDefinition(Node node, java.lang.String property)
node
- The node from which to get the propertyproperty
- The property to find the definition forpublic org.alfresco.service.cmr.dictionary.AssociationDefinition getAssociationDefinition(Node node, java.lang.String association)
node
- The node from which to get the associationassociation
- The association to find the definition forCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.