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:
Britt Park
2006-11-29 03:04:53 +00:00
parent 99e428afaa
commit 23a1a5657d
6 changed files with 189 additions and 227 deletions

View File

@@ -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.