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
Query
testing 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
_startAfter
private AdaptableDate
_startBefore
private 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 String
build()
Build the solr query string representing the Query object.boolean
equals(Object obj)
int
hashCode()
-
-
-
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
-
-