mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
Merged HEAD (5.2) to 5.2.N (5.2.1)
126618 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2) 125355 gjames: RA-901: Success code for move operation should be 200 git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126963 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -44,6 +44,7 @@ import org.alfresco.util.ParameterCheck;
|
||||
import org.apache.lucene.store.Lock;
|
||||
import org.springframework.beans.factory.InitializingBean;
|
||||
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import java.io.InputStream;
|
||||
|
||||
/**
|
||||
@@ -140,7 +141,9 @@ public class NodesEntityResource implements
|
||||
}
|
||||
|
||||
@Operation("move")
|
||||
@WebApiDescription(title = "Move Node", description="Moves one or more nodes (files or folders) to a new target folder, with option to rename.")
|
||||
@WebApiDescription(title = "Move Node",
|
||||
description="Moves one or more nodes (files or folders) to a new target folder, with option to rename.",
|
||||
successStatus = HttpServletResponse.SC_OK)
|
||||
public Node moveById(String nodeId, NodeTarget target, Parameters parameters, WithResponse withResponse)
|
||||
{
|
||||
return nodes.moveOrCopyNode(nodeId, target.getTargetParentId(), target.getName(), parameters, false);
|
||||
|
Reference in New Issue
Block a user