public class WorkflowStepQuery extends Object implements Query
Query
testing the current workflow step of a content.
It can only be used to search on the current step.Query.LogicalOperator, Query.Operator
Modifier and Type | Field and Description |
---|---|
private Query.LogicalOperator |
_logicalOperator |
private Query.Operator |
_operator |
private int[] |
_values |
Constructor and Description |
---|
WorkflowStepQuery(int... values)
Build a WorkflowStepQuery.
|
WorkflowStepQuery(int value)
Build a WorkflowStepQuery.
|
WorkflowStepQuery(Query.Operator operator,
int... values)
Build a WorkflowStepQuery.
|
WorkflowStepQuery(Query.Operator operator,
int value)
Build a WorkflowStepQuery.
|
WorkflowStepQuery(Query.Operator operator,
Query.LogicalOperator logicalOperator,
int... values)
Build a WorkflowStepQuery.
|
Modifier and Type | Method and Description |
---|---|
String |
build()
Build the solr query string representing the Query object.
|
boolean |
equals(Object obj) |
Query.LogicalOperator |
getLogicalOperator()
Get the logicalOperator.
|
Query.Operator |
getOperator()
Get the operator.
|
int[] |
getValues()
Get the values.
|
int |
hashCode() |
private Query.Operator _operator
private int[] _values
private Query.LogicalOperator _logicalOperator
public WorkflowStepQuery(int value)
value
- the step id to test.public WorkflowStepQuery(int... values)
values
- the step IDs to test.public WorkflowStepQuery(Query.Operator operator, int value)
operator
- the operator.value
- the step id to test.public WorkflowStepQuery(Query.Operator operator, int... values)
operator
- the operator.values
- the step IDs to test.public WorkflowStepQuery(Query.Operator operator, Query.LogicalOperator logicalOperator, int... values)
operator
- the operator.logicalOperator
- the logical operator.values
- the step IDs to test.public Query.Operator getOperator()
public int[] getValues()
public Query.LogicalOperator getLogicalOperator()
public String build() throws QuerySyntaxException
Query
build
in interface Query
QuerySyntaxException
- if the query can't be built because of a syntax error.