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

@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="source/java"/>
<classpathentry kind="src" path="config"/>
<classpathentry kind="src" path="source/test-resources"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="src" path="/Core"/>
<classpathentry kind="src" path="/3rd Party"/>
<classpathentry kind="output" path="build/classes"/>
</classpath>
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="source/java"/>
<classpathentry kind="src" path="config"/>
<classpathentry kind="src" path="source/test-resources"/>
<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

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

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.