Package org.ametys.cms.repository
Class CurrentStepExpression
- java.lang.Object
 - 
- org.ametys.cms.repository.CurrentStepExpression
 
 
- 
- All Implemented Interfaces:
 Expression
public class CurrentStepExpression extends Object implements Expression
Constructs anExpressiontesting the current workflow step. 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from interface org.ametys.plugins.repository.query.expression.Expression
Expression.Operator 
 - 
 
- 
Field Summary
Fields Modifier and Type Field Description private Date_startAfterprivate Date_startBeforeprivate int_step 
- 
Constructor Summary
Constructors Constructor Description CurrentStepExpression(int stepId)Creates the expression.CurrentStepExpression(int stepId, Date startAfter, Date startBefore)Creates the expression. 
 - 
 
- 
- 
Field Detail
- 
_step
private int _step
 
- 
_startBefore
private Date _startBefore
 
- 
_startAfter
private Date _startAfter
 
 - 
 
- 
Constructor Detail
- 
CurrentStepExpression
public CurrentStepExpression(int stepId)
Creates the expression.- Parameters:
 stepId- the workflow step
 
- 
CurrentStepExpression
public CurrentStepExpression(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:ExpressionBuild the expression.- Specified by:
 buildin interfaceExpression- Returns:
 - The XPath view of the expression.
 
 
 - 
 
 -