mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Added variants to getPaths, which get all HEAD paths for
a node or all HEAD paths for a node in a given store. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3977 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -81,6 +81,18 @@ public class AVMServiceTest extends AVMServiceTestBase
|
||||
{
|
||||
System.out.println(path.getFirst() + " " + path.getSecond());
|
||||
}
|
||||
paths = fService.getHeadPaths(fService.lookup(-1, "main:/a/b/c/foo"));
|
||||
System.out.println("------------------------------");
|
||||
for (Pair<Integer, String> path : paths)
|
||||
{
|
||||
System.out.println(path.getFirst() + " " + path.getSecond());
|
||||
}
|
||||
paths = fService.getPathsInStoreHead(fService.lookup(-1, "main:/a/b/c/foo"), "main");
|
||||
System.out.println("------------------------------");
|
||||
for (Pair<Integer, String> path : paths)
|
||||
{
|
||||
System.out.println(path.getFirst() + " " + path.getSecond());
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
Reference in New Issue
Block a user