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/HEAD/root@126362 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Jamal Kaabi-Mofrad
2016-05-10 10:31:42 +00:00
parent f082c56625
commit 84f812c5c2
3 changed files with 28 additions and 30 deletions

View File

@@ -39,6 +39,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

@@ -117,10 +117,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";