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:
Britt Park
2006-09-29 16:12:26 +00:00
parent 6ec40331da
commit 0b1accf9f9
4 changed files with 158 additions and 1 deletions

View File

@@ -415,6 +415,21 @@ public interface AVMService
*/
public List<Pair<Integer, String>> getPaths(AVMNodeDescriptor desc);
/**
* Get all paths that a given node has that are in the head version.
* @param desc The node descriptor to get paths for.
* @return A List of version, path Pairs.
*/
public List<Pair<Integer, String>> getHeadPaths(AVMNodeDescriptor desc);
/**
* Get all paths to a node starting at the HEAD version of a store.
* @param desc The node descriptor.
* @param store The store.
* @return A List of all paths meeting the criteria.
*/
public List<Pair<Integer, String>> getPathsInStoreHead(AVMNodeDescriptor desc, String store);
/**
* Get the indirection path for a node in a layered context.
* @param version The version number to get.