AVMService.createSnapshot() returns a map of possibly snapshotted stores.

When one snapshots a store, other stores can be implicitly snapshotted.
This change allows clients to exploit this information.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6078 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2007-06-23 17:52:00 +00:00
parent 2b011cd1e9
commit b2a2ad8c94
14 changed files with 34 additions and 28 deletions

View File

@@ -77,9 +77,9 @@ public interface AVMStore
* @param description The long description.
* @param snapShotMap Keeps track of snapshot ids for all stores that
* end up snapshotted, possibly recursively.
* @return The version id of the newly created snapshot.
* @return The map of all implicitely and explicitely snapshotted stores.
*/
public int createSnapshot(String tag, String Description, Map<String, Integer> snapShotMap);
public Map<String, Integer> createSnapshot(String tag, String Description, Map<String, Integer> snapShotMap);
/**
* Create a new directory.