Package org.ametys.cms.repository
Class CurrentStepExpression
java.lang.Object
org.ametys.cms.repository.CurrentStepExpression
- All Implemented Interfaces:
Expression
Constructs an
Expression
testing the current workflow step.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ametys.plugins.repository.query.expression.Expression
Expression.LogicalOperator, Expression.Operator
-
Constructor Summary
ConstructorDescriptionCurrentStepExpression
(int stepId) Creates the expression.CurrentStepExpression
(int stepId, Date startAfter, Date startBefore) Creates the expression. -
Method Summary
-
Constructor Details
-
CurrentStepExpression
Creates the expression.- Parameters:
stepId
- the workflow step
-
CurrentStepExpression
Creates the expression.- Parameters:
stepId
- the workflow stepstartAfter
- the beginning DatestartBefore
- the ending Date
-
-
Method Details
-
build
Description copied from interface:Expression
Build the expression.- Specified by:
build
in interfaceExpression
- Returns:
- The XPath view of the expression.
-