mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Brought javadocs up to date with current api behavior in AVMService.
Got rid of a redundant and mostly unused method, the createSnapshot() that takes a List of names. Adjusted to fit. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4453 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -557,7 +557,7 @@ public class AVMServiceImpl implements AVMService
|
||||
* @param repName The name of the AVMStore.
|
||||
* @return The Latest Version ID.
|
||||
*/
|
||||
public int getLatestVersionID(String repName)
|
||||
public int getNextVersionID(String repName)
|
||||
{
|
||||
if (repName == null)
|
||||
{
|
||||
@@ -581,21 +581,7 @@ public class AVMServiceImpl implements AVMService
|
||||
return fAVMRepository.getLatestSnapshotID(storeName);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create snapshots of a group of AVMStores.
|
||||
* @param stores A List of AVMStore names.
|
||||
* @return A List of the new version ids.
|
||||
*/
|
||||
public List<Integer> createSnapshot(List<String> stores)
|
||||
{
|
||||
if (stores == null)
|
||||
{
|
||||
throw new AVMBadArgumentException("Stores is null.");
|
||||
}
|
||||
return fAVMRepository.createSnapshot(stores);
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* Snapshot an AVMRepository.
|
||||
* @param store The name of the AVMStore.
|
||||
* @param tag The short description.
|
||||
|
Reference in New Issue
Block a user