Class HistoryStep

java.lang.Object
org.ametys.cms.workflow.history.HistoryStep

public class HistoryStep extends Object
Object representing a history step
  • Constructor Details

    • HistoryStep

      public HistoryStep(com.opensymphony.workflow.spi.Step step)
      The constructor for a history step
      Parameters:
      step - the step
  • Method Details

    • getId

      public int getId()
      Get the id of the step
      Returns:
      the id of the step
    • isCurrent

      public boolean isCurrent()
      true if the step is the current step
      Returns:
      true if the step is the current step
    • isValid

      public boolean 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

      public void setDescription(DescriptionStep description)
      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

      public void setWorkflowAction(WorkflowAction workflowAction)
      Set the workflow action responsible for being in the step
      Parameters:
      workflowAction - the workflow action
    • getCaller

      Get the caller
      Returns:
      the caller
    • setCaller

      public void setCaller(UserIdentity caller)
      Set the caller
      Parameters:
      caller - the caller
    • getComments

      Get the comments
      Returns:
      the comments
    • setComments

      public void setComments(String comments)
      Set the comments
      Parameters:
      comments - the comments
    • getDate

      public Date getDate()
      Get the date
      Returns:
      the date
    • setDate

      public void setDate(Date date)
      Set the date
      Parameters:
      date - the date
    • getVersions

      Get the versions of the step
      Returns:
      the versions of the step
    • setVersions

      public void setVersions(List<VersionInformation> versions)
      Set the versions of the step
      Parameters:
      versions - the versions of the step. Can be null;