mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
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:
@@ -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);
|
||||
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user