Merged HEAD (5.2) to 5.2.N (5.2.1)

126362 jkaabimofrad: Merged FILE-FOLDER-API (5.2.0) to HEAD (5.2)
      119730 jvonka: FileFolder API - NodeApiTest - fix check for path elements (null unless selected)
      -RA-638


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@126708 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Ancuta Morarasu
2016-05-11 10:48:17 +00:00
parent 0cc3c96865
commit 0459a1bb6b
3 changed files with 28 additions and 30 deletions

View File

@@ -46,6 +46,10 @@ import org.springframework.extensions.webscripts.servlet.FormData;
*/
public interface Nodes
{
String PATH_ROOT = "-root-";
String PATH_MY = "-my-";
String PATH_SHARED = "-shared-";
NodeRef validateNode(StoreRef storeRef, String nodeId);
NodeRef validateNode(String nodeId);
NodeRef validateNode(NodeRef nodeRef);

View File

@@ -124,10 +124,6 @@ public class NodesImpl implements Nodes
DOCUMENT, FOLDER;
};
private final static String PATH_ROOT = "-root-";
private final static String PATH_MY = "-my-";
private final static String PATH_SHARED = "-shared-";
private final static String PARAM_RELATIVE_PATH = "relativePath"; // TODO wip
private final static String PARAM_SELECT_PROPERTIES = "properties";