@Named @SessionScoped public class InspectController extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static String |
ISO_DATETIME_FORMAT |
| Constructor and Description |
|---|
InspectController() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCurrentSnapshotID()
returns the current snapshot id form the workflow instance.
|
List<String> |
getSnapshotIDs() |
String |
getTime(String id)
This method returns the snapshot timestamp by a snapshot id.
|
String |
getUniqueid() |
void |
loadSnapshotIDs()
This method loads all existing snapshot ids of a given unqiueid
The result list is sorted creation date descending (newest snapshot first)
The method also verifies the actual snapshot in the workflow instance and creats an indicator
|
void |
restoreSnapshot(String id)
This method loads all existing snapshot ids of a given unqiueid
|
void |
setCurrentSnapshotID(String currentSnapshotID) |
void |
setSnapshotIDs(List<String> snapshotIDs) |
void |
setUniqueid(String uniqueid) |
public static final String ISO_DATETIME_FORMAT
public String getUniqueid()
public void setUniqueid(String uniqueid)
public String getCurrentSnapshotID()
public void setCurrentSnapshotID(String currentSnapshotID)
public String getTime(String id)
id - public void loadSnapshotIDs()
The result list is sorted creation date descending (newest snapshot first)
The method also verifies the actual snapshot in the workflow instance and creats an indicator
ArchiveExceptionpublic void restoreSnapshot(String id)
ArchiveExceptionCopyright © 2016–2020 Imixs Software Solutions GmbH. All rights reserved.