Package org.ametys.cms.repository
Class HistoryStepExpression
- java.lang.Object
-
- org.ametys.cms.repository.HistoryStepExpression
-
- All Implemented Interfaces:
Expression
public class HistoryStepExpression extends Object implements Expression
Constructs anExpression
testing the existence of a particular step on the workflow history.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ametys.plugins.repository.query.expression.Expression
Expression.Operator
-
-
Constructor Summary
Constructors Constructor Description HistoryStepExpression(int stepId)
Creates the expression.HistoryStepExpression(int stepId, Date startAfter, Date startBefore)
Creates the expression.
-
-
-
Constructor Detail
-
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 stepstartAfter
- the beginning DatestartBefore
- the ending Date
-
-
Method Detail
-
build
public String build()
Description copied from interface:Expression
Build the expression.- Specified by:
build
in interfaceExpression
- Returns:
- The XPath view of the expression.
-
-