public class ContentModelItemData<ItemType> extends Object implements TransientValueGetter
Constructor and Description |
---|
ContentModelItemData(ItemType item,
Map<org.alfresco.service.namespace.QName,org.alfresco.service.cmr.dictionary.PropertyDefinition> propDefs,
Map<org.alfresco.service.namespace.QName,org.alfresco.service.cmr.dictionary.AssociationDefinition> assocDefs,
Map<org.alfresco.service.namespace.QName,Serializable> propValues,
Map<org.alfresco.service.namespace.QName,Serializable> assocValues,
Map<String,Object> transientValues) |
Modifier and Type | Method and Description |
---|---|
Collection<org.alfresco.service.namespace.QName> |
getAllAssociationDefinitionNames() |
Collection<org.alfresco.service.namespace.QName> |
getAllPropertyDefinitionNames() |
Collection<String> |
getAllTransientFieldNames() |
org.alfresco.service.cmr.dictionary.AssociationDefinition |
getAssociationDefinition(org.alfresco.service.namespace.QName assocName) |
Serializable |
getAssociationValue(org.alfresco.service.namespace.QName key) |
ItemType |
getItem() |
org.alfresco.service.cmr.dictionary.PropertyDefinition |
getPropertyDefinition(org.alfresco.service.namespace.QName propName) |
Serializable |
getPropertyValue(org.alfresco.service.namespace.QName key) |
Object |
getTransientValue(String fieldName) |
public ContentModelItemData(ItemType item, Map<org.alfresco.service.namespace.QName,org.alfresco.service.cmr.dictionary.PropertyDefinition> propDefs, Map<org.alfresco.service.namespace.QName,org.alfresco.service.cmr.dictionary.AssociationDefinition> assocDefs, Map<org.alfresco.service.namespace.QName,Serializable> propValues, Map<org.alfresco.service.namespace.QName,Serializable> assocValues, Map<String,Object> transientValues)
public ItemType getItem()
public Serializable getPropertyValue(org.alfresco.service.namespace.QName key)
key
or
null
if none exists.public Serializable getAssociationValue(org.alfresco.service.namespace.QName key)
key
or
null
if none exists.public Object getTransientValue(String fieldName)
getTransientValue
in interface TransientValueGetter
null
if none exists.public org.alfresco.service.cmr.dictionary.PropertyDefinition getPropertyDefinition(org.alfresco.service.namespace.QName propName)
propName
or null
if none exists.public org.alfresco.service.cmr.dictionary.AssociationDefinition getAssociationDefinition(org.alfresco.service.namespace.QName assocName)
assocName
or null
if none exists.public Collection<org.alfresco.service.namespace.QName> getAllAssociationDefinitionNames()
QNames
for the item.public Collection<org.alfresco.service.namespace.QName> getAllPropertyDefinitionNames()
public Collection<String> getAllTransientFieldNames()
Copyright © 2005–2017 Alfresco Software. All rights reserved.