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:
@@ -573,7 +573,7 @@ public class AVMRemoteImpl implements AVMRemote, Runnable
|
||||
*/
|
||||
public int getLatestVersionID(String storeName)
|
||||
{
|
||||
return fAVMService.getLatestVersionID(storeName);
|
||||
return fAVMService.getNextVersionID(storeName);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -586,16 +586,6 @@ public class AVMRemoteImpl implements AVMRemote, Runnable
|
||||
return fAVMService.getLatestSnapshotID(storeName);
|
||||
}
|
||||
|
||||
/**
|
||||
* Snapshot the given AVMStores.
|
||||
* @param stores A List of the names of the stores to snapshot.
|
||||
* @return A List of the version ids of the newly created snapshots.
|
||||
*/
|
||||
public List<Integer> createSnapshot(List<String> stores)
|
||||
{
|
||||
return fAVMService.createSnapshot(stores);
|
||||
}
|
||||
|
||||
// TODO update this if it's ever needed.
|
||||
/**
|
||||
* Snapshot an AVMStore.
|
||||
|
Reference in New Issue
Block a user