mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
REPO-1155 / REPO-160 / REPO-340 - V1 REST API: Remove "includeChildren" option for Lock / Unlock in the rest api (REPO-1163)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@129892 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -33,7 +33,6 @@ import org.alfresco.rest.api.Nodes;
|
||||
import org.alfresco.rest.api.model.LockInfo;
|
||||
import org.alfresco.rest.api.model.Node;
|
||||
import org.alfresco.rest.api.model.NodeTarget;
|
||||
import org.alfresco.rest.api.model.UnlockInfo;
|
||||
import org.alfresco.rest.framework.BinaryProperties;
|
||||
import org.alfresco.rest.framework.Operation;
|
||||
import org.alfresco.rest.framework.WebApiDescription;
|
||||
@@ -185,9 +184,9 @@ public class NodesEntityResource implements
|
||||
@WebApiDescription(title = "Unlock Node",
|
||||
description="Removes a lock on a node.",
|
||||
successStatus = HttpServletResponse.SC_OK)
|
||||
public Node unlock(String nodeId, UnlockInfo unlockInfo, Parameters parameters, WithResponse withResponse)
|
||||
public Node unlock(String nodeId, Void ignore, Parameters parameters, WithResponse withResponse)
|
||||
{
|
||||
return nodes.unlock(nodeId, unlockInfo, parameters);
|
||||
return nodes.unlock(nodeId, parameters);
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user