Package com.adobe.granite.workflow.exec
Interface HistoryItem
-
public interface HistoryItemContains information about the history of a.Workflow- See Also:
WorkflowSession.getHistory(Workflow)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAction()The action that got issued on theWorkItemStringgetComment()The history comment (entered while advancing, starting, terminating)DategetDate()Date when an actiongot issued that caused thisWorkItemHistoryItemHistoryItemgetNextHistryItem()Returns the next history item.HistoryItemgetPreviousHistoryItem()Returns the previous history item.StringgetUserId()User who triggered the actionhat caused thisWorkItemHistoryItemWorkItemgetWorkItem()Returns the correspondingWorkItem
-
-
-
Method Detail
-
getComment
String getComment()
The history comment (entered while advancing, starting, terminating)- Returns:
- comment
-
getAction
String getAction()
The action that got issued on theWorkItem- Returns:
- action descriptor as string
-
getDate
Date getDate()
Date when an actiongot issued that caused thisWorkItemHistoryItem- Returns:
- date
-
getUserId
String getUserId()
User who triggered the actionhat caused thisWorkItemHistoryItem- Returns:
- the user id
-
getPreviousHistoryItem
HistoryItem getPreviousHistoryItem()
Returns the previous history item.- Returns:
- the previous
HistoryItemif available otherwisenull
-
getNextHistryItem
HistoryItem getNextHistryItem()
Returns the next history item.- Returns:
- the next
HistoryItemif available otherwisenull
-
-