Added utility method to get a path for an AVM node as quickly as possible. Switched history

viewing to use it.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4944 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2007-01-26 16:34:36 +00:00
parent 30007cca42
commit c45bb470ba
10 changed files with 143 additions and 6 deletions

View File

@@ -778,6 +778,13 @@ public interface AVMService
public List<Pair<Integer, String>> getPaths(AVMNodeDescriptor desc);
/**
* Get a single valid path to a given node.
* @param desc The node descriptor to get a path for.
* @return AVMNotFoundException
*/
public Pair<Integer, String> getAPath(AVMNodeDescriptor desc);
/**
* Get all paths that a given node has that are in the
* <strong><code>HEAD</code></strong> version (<strong><code> -1 </code></strong>).