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:
21
.classpath
21
.classpath
@@ -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>
|
||||
|
@@ -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