Package org.imixs.archive.service.ui
Class InspectController
- java.lang.Object
-
- org.imixs.archive.service.ui.InspectController
-
- All Implemented Interfaces:
Serializable
@Named @SessionScoped public class InspectController extends Object implements Serializable
CID Bean to inspect a single process instance.- Author:
- rsoika
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringISO_DATETIME_FORMAT
-
Constructor Summary
Constructors Constructor Description InspectController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeleteSnapshot(String id)This method deletes a snapshot by its IDStringgetCurrentSnapshotID()returns the current snapshot id form the workflow instance.List<String>getSnapshotIDs()StringgetTime(String id)This method returns the snapshot timestamp by a snapshot id.StringgetUniqueid()voidloadSnapshotIDs()This method loads all existing snapshot ids of a given unqiueIDvoidrestoreSnapshot(String id)This method restores a snapshot by its IDvoidsetCurrentSnapshotID(String currentSnapshotID)voidsetSnapshotIDs(List<String> snapshotIDs)voidsetUniqueid(String uniqueid)
-
-
-
Field Detail
-
ISO_DATETIME_FORMAT
public static final String ISO_DATETIME_FORMAT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getUniqueid
public String getUniqueid()
-
setUniqueid
public void setUniqueid(String uniqueid)
-
getCurrentSnapshotID
public String getCurrentSnapshotID()
returns the current snapshot id form the workflow instance.- Returns:
-
setCurrentSnapshotID
public void setCurrentSnapshotID(String currentSnapshotID)
-
getTime
public String getTime(String id)
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
public void restoreSnapshot(String id)
This method restores a snapshot by its ID
-
deleteSnapshot
public void deleteSnapshot(String id)
This method deletes a snapshot by its ID
-
-