Package org.imixs.archive.service.ui
Class InspectController
java.lang.Object
org.imixs.archive.service.ui.InspectController
- All Implemented Interfaces:
Serializable
CID Bean to inspect a single process instance.
- Author:
- rsoika
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteSnapshot(String id) This method deletes a snapshot by its IDreturns the current snapshot id form the workflow instance.This method returns the snapshot timestamp by a snapshot id.voidThis method loads all existing snapshot ids of a given unqiueIDvoidThis method restores a snapshot by its IDvoidsetCurrentSnapshotID(String currentSnapshotID) voidsetSnapshotIDs(List<String> snapshotIDs) voidsetUniqueid(String uniqueid)
-
Field Details
-
ISO_DATETIME_FORMAT
- See Also:
-
-
Constructor Details
-
InspectController
public InspectController()
-
-
Method Details
-
getUniqueid
-
setUniqueid
-
getSnapshotIDs
-
setSnapshotIDs
-
getCurrentSnapshotID
returns the current snapshot id form the workflow instance.- Returns:
-
setCurrentSnapshotID
-
getTime
This method returns the snapshot timestamp by a snapshot id.- Parameters:
id-- Returns:
-
loadSnapshotIDs
public void loadSnapshotIDs()This method loads all existing snapshot ids of a given unqiueIDThe result list is sorted creation date descending (newest snapshot first)
The method also verifies the actual snapshot in the workflow instance and creates an indicator
-
restoreSnapshot
This method restores a snapshot by its ID -
deleteSnapshot
This method deletes a snapshot by its ID
-