mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-21 18:09:20 +00:00
Merged 5.2.N (5.2.1) to HEAD (5.2)
129643 amorarasu: REPO-164 / REPO-1086 - V1 REST API: Lock Node git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@130216 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -34,6 +34,7 @@ import org.alfresco.rest.api.model.AssocChild;
|
||||
import org.alfresco.rest.api.model.AssocTarget;
|
||||
import org.alfresco.rest.api.model.Document;
|
||||
import org.alfresco.rest.api.model.Folder;
|
||||
import org.alfresco.rest.api.model.LockInfo;
|
||||
import org.alfresco.rest.api.model.Node;
|
||||
import org.alfresco.rest.api.model.UserInfo;
|
||||
import org.alfresco.rest.framework.resource.content.BasicContentInfo;
|
||||
@@ -244,6 +245,15 @@ public interface Nodes
|
||||
* @return
|
||||
*/
|
||||
List<AssocTarget> addTargets(String sourceNodeId, List<AssocTarget> entities);
|
||||
|
||||
/**
|
||||
* Lock a node
|
||||
* @param nodeId
|
||||
* @param lockInfo
|
||||
* @param parameters
|
||||
* @return
|
||||
*/
|
||||
Node lock(String nodeId, LockInfo lockInfo, Parameters parameters);
|
||||
|
||||
/**
|
||||
* API Constants - query parameters, etc
|
||||
|
Reference in New Issue
Block a user