mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Async/incremental link validation.
Mostly working with the webapp, but the webapp needs to check for an null pointer to ensure that some result is ready. Other more minor wrinkles exist, such as capturing the number of files checked and displaying the version validated; this may be different from the latest snapshot if the validation gets behind the checkins for a while. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6136 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -602,6 +602,10 @@ public interface AVMService
|
||||
|
||||
/**
|
||||
* Get the latest snapshot ID of a store.
|
||||
* Note: All stores have at least one snapshot ID: 0;
|
||||
* this is the "empty" snapshot taken when
|
||||
* the store is first created.
|
||||
*
|
||||
* @param storeName The store name.
|
||||
* @return The ID of the latest extant version of the store.
|
||||
* @throws AVMNotFoundException
|
||||
@@ -611,6 +615,17 @@ public interface AVMService
|
||||
|
||||
/**
|
||||
* Snapshot the given AVMStore.
|
||||
* When files have been modified since the previous snapshot,
|
||||
* a new snapshot version is created; otherwise, no extra
|
||||
* snapshot is actually taken.
|
||||
* <p>
|
||||
* When no snapshot is actually taken, but either 'tag'
|
||||
* or 'store' are non-null, they will override the value for
|
||||
* the last snapshot (i.e.: the old values will be discarded);
|
||||
* however, if both 'tag' and 'description' are null then
|
||||
* invoking createSnapshot when no files have been modified
|
||||
* becomes a true no-op.
|
||||
*
|
||||
* @param store The name of the AVMStore to snapshot.
|
||||
* @param tag The short description.
|
||||
* @param description The thick description.
|
||||
|
Reference in New Issue
Block a user