Class HistoryStepExpression

java.lang.Object
org.ametys.cms.repository.HistoryStepExpression
All Implemented Interfaces:
Expression

public class HistoryStepExpression extends Object implements Expression
Constructs an Expression testing the existence of a particular step on the workflow history.
  • Constructor Details

    • HistoryStepExpression

      public HistoryStepExpression(int stepId)
      Creates the expression.
      Parameters:
      stepId - the workflow step
    • HistoryStepExpression

      public HistoryStepExpression(int stepId, Date startAfter, Date startBefore)
      Creates the expression.
      Parameters:
      stepId - the workflow step
      startAfter - the beginning Date
      startBefore - the ending Date
  • Method Details

    • build

      public String build()
      Description copied from interface: Expression
      Build the expression.
      Specified by:
      build in interface Expression
      Returns:
      The XPath view of the expression.