Package com.opensymphony.workflow.query
Class WorkflowExpressionQuery
java.lang.Object
com.opensymphony.workflow.query.WorkflowExpressionQuery
- All Implemented Interfaces:
Serializable
Workflow Query.
A workflow expression-based query is constructed by specifying a number of expressions in the query.
Currently queries can only have one operator act on them. Either the expressions are either evaluated
with an OR, whereby the first expression that passes results in inclusion of a result, or with an AND,
whereby all expressions must return true for a result to be included.
- Author:
- Christine Zimmermann
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionWorkflowExpressionQuery(Expression expression) Create a WorkflowExpressionQuery that consists of one expression. -
Method Summary
Modifier and TypeMethodDescriptionintintvoidsetExpression(Expression expression) voidsetOrderBy(int orderBy) voidsetSortOrder(int sortOrder)
-
Field Details
-
SORT_NONE
public static final int SORT_NONE- See Also:
-
SORT_ASC
public static final int SORT_ASC- See Also:
-
SORT_DESC
public static final int SORT_DESC- See Also:
-
-
Constructor Details
-
WorkflowExpressionQuery
public WorkflowExpressionQuery() -
WorkflowExpressionQuery
Create a WorkflowExpressionQuery that consists of one expression.
-
-
Method Details
-
setExpression
-
getExpression
-
setOrderBy
public void setOrderBy(int orderBy) -
getOrderBy
public int getOrderBy() -
setSortOrder
public void setSortOrder(int sortOrder) -
getSortOrder
public int getSortOrder()
-