mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Added getLatestSnapshotID() to Remote interface.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4449 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -199,6 +199,13 @@ public interface AVMRemote
|
||||
* @return The latest version id.
|
||||
*/
|
||||
public int getLatestVersionID(String storeName);
|
||||
|
||||
/**
|
||||
* Get the id of the latest extant snpashot.
|
||||
* @param storeName The name of the store.
|
||||
* @return The id.
|
||||
*/
|
||||
public int getLatestSnapshotID(String storeName);
|
||||
|
||||
/**
|
||||
* Snapshot the given AVMStores.
|
||||
|
@@ -576,6 +576,16 @@ public class AVMRemoteImpl implements AVMRemote, Runnable
|
||||
return fAVMService.getLatestVersionID(storeName);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the id of the latest version snapshot.
|
||||
* @param storeName The store name.
|
||||
* @return The id.
|
||||
*/
|
||||
public int getLatestSnapshotID(String storeName)
|
||||
{
|
||||
return fAVMService.getLatestSnapshotID(storeName);
|
||||
}
|
||||
|
||||
/**
|
||||
* Snapshot the given AVMStores.
|
||||
* @param stores A List of the names of the stores to snapshot.
|
||||
|
Reference in New Issue
Block a user