Added getPathsInStoreVersion() method to AVMService.

This returns all paths to a particular node in a particular
store in a particular version.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6074 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2007-06-22 22:10:05 +00:00
parent 54d7208f7b
commit 7e9c7b505c
5 changed files with 124 additions and 1 deletions

View File

@@ -764,6 +764,18 @@ public class AVMServiceImpl implements AVMService
return fAVMRepository.getPathsInStoreHead(desc, store);
}
/* (non-Javadoc)
* @see org.alfresco.service.cmr.avm.AVMService#getPathsInStoreVersion(org.alfresco.service.cmr.avm.AVMNodeDescriptor, java.lang.String, int)
*/
public List<String> getPathsInStoreVersion(AVMNodeDescriptor desc, String store, int version)
{
if (desc == null || store == null || version < 1)
{
throw new AVMBadArgumentException("Illegal null argument or invalid version.");
}
return fAVMRepository.getPathsInStoreVersion(desc, store, version);
}
/**
* Purge an AVMStore. Permanently delete everything that
* is only referenced in that AVMStore.