Class WorkflowAction

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

public class WorkflowAction extends Object
Object representing a workflow action
  • Constructor Details

    • WorkflowAction

      public WorkflowAction(int id)
      The constructor for a workflow action
      Parameters:
      id - the id of the action
  • Method Details

    • getId

      public int getId()
      Get the id of the action
      Returns:
      the id of the action
    • getLabel

      Get the label of the action
      Returns:
      the label of the action
    • setLabel

      public void setLabel(I18nizableText label)
      Set the label of the action
      Parameters:
      label - the label
    • getSmallIcon

      Get the small icon of the action
      Returns:
      the small icon of the action
    • setSmallIcon

      public void setSmallIcon(String smallIcon)
      Set the small icon of the action
      Parameters:
      smallIcon - the small icon of the action. Can be null.
    • getMediumIcon

      Get the medium icon of the action
      Returns:
      the medium icon of the action
    • setMediumIcon

      public void setMediumIcon(String mediumIcon)
      Set the medium icon of the action
      Parameters:
      mediumIcon - the medium icon of the action. Can be null.
    • getLargeIcon

      Get the large icon of the action
      Returns:
      the large icon of the action
    • setLargeIcon

      public void setLargeIcon(String largeIcon)
      Set the large icon of the action
      Parameters:
      largeIcon - the large icon of the action. Can be null.