|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.web.bean.repository.DataDictionary
public final class DataDictionary
Lighweight client side representation of the repository data dictionary. This allows service calls to be kept to a minimum and for bean access, thus enabling JSF value binding expressions.
| Constructor Summary | |
|---|---|
DataDictionary(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
Constructor |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataDictionary(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
dictionaryService - The dictionary service to use to retrieve the data| Method Detail |
|---|
public org.alfresco.service.cmr.dictionary.TypeDefinition getTypeDef(org.alfresco.service.namespace.QName type)
type - The qname of the type to lookup the definition for
public 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 for
public 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 for
public 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 for
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||