Provided a getLatestSnapshotID() for AVMService. It returns the latest extant version of

a store.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4364 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2006-11-15 15:30:50 +00:00
parent 95c8647031
commit 2cab072bc1
6 changed files with 57 additions and 1 deletions

View File

@@ -303,6 +303,14 @@ public interface AVMService
*/
public int getLatestVersionID(String storeName);
/**
* Get the latest snapshot id of a store.
* @param storeName The store name.
* @return The id of the latest extant version of the store.
* @throws AVMNotFoundException If <code>storeName</code> does not exist.
*/
public int getLatestSnapshotID(String storeName);
/**
* Snapshot the given AVMStores. When this is called everything that has been added,
* deleted, or modified since the last time this function was called, is marked