Package org.ametys.cms.search.query
Class WorkflowStepQuery
java.lang.Object
org.ametys.cms.search.query.WorkflowStepQuery
- All Implemented Interfaces:
Query
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
-
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
-
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.
-
-
Method Details
-
getOperator
Get the operator.- Returns:
- the operator
-
getValues
Get the values.- Returns:
- the values
-
getLogicalOperator
Get the logicalOperator.- Returns:
- the logicalOperator
-
build
Description copied from interface:Query
Build the solr query string representing the Query object.- Specified by:
build
in interfaceQuery
- Returns:
- the solr query string representing the Query object.
- Throws:
QuerySyntaxException
- if the query can't be built because of a syntax error.
-
hashCode
-
equals
-