MOB-378 (AtomPub binding) Support for sub-types (and properties)

- 1st pass at creation of document / folder sub-types
- 1st pass at setting / updating custom properties
- Existing AtomPub CMIS Tests passing

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13707 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
David Caruana
2009-03-22 15:23:53 +00:00
parent 3f78bf9b32
commit 384f4abdf9
25 changed files with 417 additions and 272 deletions

View File

@@ -28,6 +28,7 @@ import java.io.Serializable;
import java.util.Map;
import org.alfresco.service.cmr.repository.NodeRef;
import org.alfresco.service.namespace.QName;
/**
* Public API to get and set CMIS properties
@@ -38,6 +39,14 @@ import org.alfresco.service.cmr.repository.NodeRef;
*/
public interface CMISPropertyService
{
/**
* Map CMIS Property name to Alfresco property name (only for direct 1 to 1 mappings)
*
* @param propertyName CMIS property name
* @return Alfresco property name (or null, if there's no mapping)
*/
public QName mapPropertyName(String propertyName);
/**
* Set a single property
* @param nodeRef
@@ -66,7 +75,7 @@ public interface CMISPropertyService
* @param nodeRef
* @return
*/
public Map<String, Serializable> getProperties(NodeRef nodeRef);
public Map<String, Serializable> getProperties(NodeRef nodeRef);
}