Package com.day.cq.workflow.exec
Interface HistoryItem
-
public interface HistoryItem
HistoryItem
...
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getAction()
The action that got issued on theWorkItem
java.lang.String
getComment()
The history comment (entered while advancing, starting, terminating)java.util.Date
getDate()
Date when an action
got issued that caused thisWorkItem
HistoryItem
HistoryItem
getNextHistryItem()
Returns the next history item.HistoryItem
getPreviousHistoryItem()
Returns the previous history item.java.lang.String
getUserId()
User who triggered the action
hat caused thisWorkItem
HistoryItem
WorkItem
getWorkItem()
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 action
got issued that caused thisWorkItem
HistoryItem
- Returns:
- date
-
getUserId
java.lang.String getUserId()
User who triggered the action
hat caused thisWorkItem
HistoryItem
- Returns:
- the user id
-
getPreviousHistoryItem
HistoryItem getPreviousHistoryItem()
Returns the previous history item.- Returns:
- the previous
HistoryItem
if available otherwisenull
-
getNextHistryItem
HistoryItem getNextHistryItem()
Returns the next history item.- Returns:
- the next
HistoryItem
if available otherwisenull
-
-