com.opensymphony.workflow.query
Class WorkflowExpressionQuery
java.lang.Object
com.opensymphony.workflow.query.WorkflowExpressionQuery
- All Implemented Interfaces:
- Serializable
public class WorkflowExpressionQuery
- extends Object
- implements 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:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SORT_NONE
public static final int SORT_NONE
- See Also:
- Constant Field Values
SORT_ASC
public static final int SORT_ASC
- See Also:
- Constant Field Values
SORT_DESC
public static final int SORT_DESC
- See Also:
- Constant Field Values
WorkflowExpressionQuery
public WorkflowExpressionQuery()
WorkflowExpressionQuery
public WorkflowExpressionQuery(Expression expression)
- Create a WorkflowExpressionQuery that consists of one expression.
setExpression
public void setExpression(Expression expression)
getExpression
public Expression getExpression()
setOrderBy
public void setOrderBy(int orderBy)
getOrderBy
public int getOrderBy()
setSortOrder
public void setSortOrder(int sortOrder)
getSortOrder
public int getSortOrder()