org.alfresco.opencmis.dictionary
Interface CMISPropertyAccessor


public interface CMISPropertyAccessor

CMIS Property Accessor (get and set property values)


Method Summary
 CMISNodeInfo createNodeInfo(AssociationRef assocRef)
          Creates a node info object form the given association ref.
 CMISNodeInfo createNodeInfo(NodeRef nodeRef)
          Creates a node info object form the given node ref.
 QName getMappedProperty()
          Get the (directly) mapped Alfresco property (if a direct mapping exists)
 java.lang.String getName()
          Get the CMIS Property Name
 java.io.Serializable getValue(CMISNodeInfo nodeInfo)
          Get the property value for a node or an association
 void setValue(NodeRef nodeRef, java.io.Serializable value)
          Set the property value for a node
 

Method Detail

getName

java.lang.String getName()
Get the CMIS Property Name

Returns:

getMappedProperty

QName getMappedProperty()
Get the (directly) mapped Alfresco property (if a direct mapping exists)

Returns:

setValue

void setValue(NodeRef nodeRef,
              java.io.Serializable value)
Set the property value for a node

Parameters:
nodeRef -

getValue

java.io.Serializable getValue(CMISNodeInfo nodeInfo)
Get the property value for a node or an association

Parameters:
nodeInfo -
Returns:

createNodeInfo

CMISNodeInfo createNodeInfo(NodeRef nodeRef)
Creates a node info object form the given node ref.


createNodeInfo

CMISNodeInfo createNodeInfo(AssociationRef assocRef)
Creates a node info object form the given association ref.



Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.