mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
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:
@@ -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.
|
||||
|
Reference in New Issue
Block a user