CMIS Relationship support in AtomPub binding

- getRelationships
- getRelationship
- createRelationship
- unit tests for above

TODO: delete relationship, includeRelationships flag

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14461 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
David Caruana
2009-05-27 22:11:31 +00:00
parent 4980a463ee
commit d8c87a5abd
22 changed files with 637 additions and 112 deletions

View File

@@ -26,6 +26,7 @@ package org.alfresco.cmis;
import java.io.Serializable;
import org.alfresco.service.cmr.repository.AssociationRef;
import org.alfresco.service.cmr.repository.NodeRef;
import org.alfresco.service.namespace.QName;
@@ -51,7 +52,7 @@ public interface CMISPropertyAccessor
public QName getMappedProperty();
/**
* Get the property value
* Get the property value for a node
*
* @param nodeRef
* @return
@@ -59,10 +60,18 @@ public interface CMISPropertyAccessor
public Serializable getValue(NodeRef nodeRef);
/**
* Set the property value
* Set the property value for a node
*
* @param nodeRef
* @Param value
*/
public void setValue(NodeRef nodeRef, Serializable value);
/**
* Get the property value for an association
*
* @param nodeRef
* @return
*/
public Serializable getValue(AssociationRef assocRef);
}