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 java.lang.StringgetAction()The action that got issued on theWorkItemjava.lang.StringgetComment()The history comment (entered while advancing, starting, terminating)java.util.DategetDate()Date when an actiongot issued that caused thisWorkItemHistoryItemHistoryItemgetNextHistryItem()Returns the next history item.HistoryItemgetPreviousHistoryItem()Returns the previous history item.java.lang.StringgetUserId()User who triggered the actionhat caused thisWorkItemHistoryItemWorkItemgetWorkItem()Returns the correspondingWorkItem
-
-
-
Method Detail
-
getComment
java.lang.String getComment()
The history comment (entered while advancing, starting, terminating)- Returns:
- comment
-
getAction
java.lang.String getAction()
The action that got issued on theWorkItem- Returns:
- action descriptor as string
-
getDate
java.util.Date getDate()
Date when an actiongot issued that caused thisWorkItemHistoryItem- Returns:
- date
-
getUserId
java.lang.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
-
-