Package org.ametys.cms.search.query
Class HistoryStepQuery
- java.lang.Object
-
- org.ametys.cms.search.query.HistoryStepQuery
-
- All Implemented Interfaces:
Query
public class HistoryStepQuery extends Object implements Query
Querytesting the existence of a particular step on the workflow history.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ametys.cms.search.query.Query
Query.LogicalOperator, Query.Operator
-
-
Field Summary
Fields Modifier and Type Field Description private AdaptableDate_startAfterprivate AdaptableDate_startBeforeprivate int_stepId
-
Constructor Summary
Constructors Constructor Description HistoryStepQuery(int stepId)Create a new HistoryStepQuery.HistoryStepQuery(int stepId, LocalDateTime startAfter, LocalDateTime startBefore)Create a new HistoryStepQuery.HistoryStepQuery(int stepId, AdaptableDate startAfter, AdaptableDate startBefore)Create a new HistoryStepQuery.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringbuild()Build the solr query string representing the Query object.booleanequals(Object obj)inthashCode()
-
-
-
Field Detail
-
_stepId
private int _stepId
-
_startBefore
private AdaptableDate _startBefore
-
_startAfter
private AdaptableDate _startAfter
-
-
Constructor Detail
-
HistoryStepQuery
public HistoryStepQuery(int stepId)
Create a new HistoryStepQuery.- Parameters:
stepId- the workflow step ID.
-
HistoryStepQuery
public HistoryStepQuery(int stepId, LocalDateTime startAfter, LocalDateTime startBefore)
Create a new HistoryStepQuery.- Parameters:
stepId- the workflow step ID.startAfter- the beginning DatestartBefore- the ending Date
-
HistoryStepQuery
public HistoryStepQuery(int stepId, AdaptableDate startAfter, AdaptableDate startBefore)
Create a new HistoryStepQuery.- Parameters:
stepId- the workflow step ID.startAfter- the beginning DatestartBefore- the ending Date
-
-