Package org.ametys.cms.workflow.history
Class HistoryStep
java.lang.Object
org.ametys.cms.workflow.history.HistoryStep
Object representing a history step
-
Constructor Summary
ConstructorDescriptionHistoryStep
(com.opensymphony.workflow.spi.Step step) The constructor for a history step -
Method Summary
Modifier and TypeMethodDescriptionGet the callerGet the commentsgetDate()
Get the dateGet the description of the stepint
getId()
Get the id of the stepGet the versions of the stepGet the workflow action responsible for being in the stepboolean
true
if the step is the current stepboolean
isValid()
true
if the step is validvoid
setCaller
(UserIdentity caller) Set the callervoid
setComments
(String comments) Set the commentsvoid
Set the datevoid
setDescription
(DescriptionStep description) Set the description of the stepvoid
setVersions
(List<VersionInformation> versions) Set the versions of the stepvoid
setWorkflowAction
(WorkflowAction workflowAction) Set the workflow action responsible for being in the step
-
Constructor Details
-
HistoryStep
The constructor for a history step- Parameters:
step
- the step
-
-
Method Details
-
getId
Get the id of the step- Returns:
- the id of the step
-
isCurrent
true
if the step is the current step- Returns:
true
if the step is the current step
-
isValid
true
if the step is valid- Returns:
true
if the step is valid
-
getDescription
Get the description of the step- Returns:
- the description of the step
-
setDescription
Set the description of the step- Parameters:
description
- the description of the step
-
getWorkflowAction
Get the workflow action responsible for being in the step- Returns:
- the workflow action
-
setWorkflowAction
Set the workflow action responsible for being in the step- Parameters:
workflowAction
- the workflow action
-
getCaller
Get the caller- Returns:
- the caller
-
setCaller
Set the caller- Parameters:
caller
- the caller
-
getComments
Get the comments- Returns:
- the comments
-
setComments
Set the comments- Parameters:
comments
- the comments
-
getDate
Get the date- Returns:
- the date
-
setDate
Set the date- Parameters:
date
- the date
-
getVersions
Get the versions of the step- Returns:
- the versions of the step
-
setVersions
Set the versions of the step- Parameters:
versions
- the versions of the step. Can be null;
-