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:
Britt Park
2006-11-27 20:58:12 +00:00
parent 4003f0e36f
commit 99e428afaa
3 changed files with 28 additions and 10 deletions

View File

@@ -6,5 +6,6 @@
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="src" path="/Core"/>
<classpathentry kind="src" path="/3rd Party"/>
<classpathentry combineaccessrules="false" kind="src" path="/MBean"/>
<classpathentry kind="output" path="build/classes"/>
</classpath>

View File

@@ -200,6 +200,13 @@ public interface AVMRemote
*/
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.
* @param stores A List of the names of the stores to snapshot.

View File

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