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

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