Package org.ametys.cms.search.query
Class WorkflowStepQuery
java.lang.Object
org.ametys.cms.search.query.AbstractOperatorQuery<List<T>>
org.ametys.cms.search.query.AbstractMultivaluedQuery<Integer>
org.ametys.cms.search.query.WorkflowStepQuery
Represents a
Query
testing the current workflow step of a content.
It can only be used to search on the current step.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ametys.cms.search.query.Query
Query.LogicalOperator, Query.Operator
-
Field Summary
Fields inherited from interface org.ametys.cms.search.query.Query
BOOL_FILTER, BOOL_MUST, BOOL_MUST_NOT, BOOL_SHOULD
-
Constructor Summary
ConstructorDescriptionWorkflowStepQuery
(int value) Build a WorkflowStepQuery.WorkflowStepQuery
(int... values) Build a WorkflowStepQuery.WorkflowStepQuery
(Query.Operator operator, int value) Build a WorkflowStepQuery.WorkflowStepQuery
(Query.Operator operator, int... values) Build a WorkflowStepQuery.WorkflowStepQuery
(Query.Operator operator, Query.LogicalOperator logicalOperator, int... values) Build a WorkflowStepQuery. -
Method Summary
Methods inherited from class org.ametys.cms.search.query.AbstractMultivaluedQuery
build, buildAsJson, equals, hashCode, singleValueForQuery
Methods inherited from class org.ametys.cms.search.query.AbstractOperatorQuery
getFieldName, getOperator, getValue, rewrite, valueForQuery
-
Constructor Details
-
WorkflowStepQuery
Build a WorkflowStepQuery.- Parameters:
value
- the step id to test.
-
WorkflowStepQuery
Build a WorkflowStepQuery.- Parameters:
values
- the step IDs to test.
-
WorkflowStepQuery
Build a WorkflowStepQuery.- Parameters:
operator
- the operator.value
- the step id to test.
-
WorkflowStepQuery
Build a WorkflowStepQuery.- Parameters:
operator
- the operator.values
- the step IDs to test.
-
WorkflowStepQuery
public WorkflowStepQuery(Query.Operator operator, Query.LogicalOperator logicalOperator, int... values) Build a WorkflowStepQuery.- Parameters:
operator
- the operator.logicalOperator
- the logical operator.values
- the step IDs to test.
-