| java.lang.Object com.opensymphony.workflow.query.Expression com.opensymphony.workflow.query.FieldExpression
FieldExpression | public class FieldExpression extends Expression (Code) | | Field expressions are used when constructing a workflow query on the fields
of persistent workflow instances like (START_DATE, OWNER,....).
Field expressions have three attributes. These are:
operator: This is the operator to apply on the expression.
field: The workflow field to test agains
Context: The context to search in, which can be one history, current steps, or a workflow instance.
author: Christine Zimmermann |
Field Summary | |
final public static int | ACTION Constant for the workflow action field. | final public static int | CALLER Constant for the workflow caller field. | final public static int | CURRENT_STEPS Constant for the history steps context. | final public static int | DUE_DATE Constant for the workflow due date field. | final public static int | ENTRY Constant for the workflow entry context. | final public static int | EQUALS Constant for the equality operator. | final public static int | FINISH_DATE Constant for the workflow finish date field. | final public static int | GT Constant for the greater than operator. | final public static int | HISTORY_STEPS Constant for the history steps context. | final public static int | LT Constant for the less than operator. | final public static int | NAME Constant for the workflow name field. | final public static int | NOT_EQUALS Constant for the not equals operator. | final public static int | OWNER Constant for the workflow owner field. | final public static int | START_DATE Constant for the workflow start date field. | final public static int | STATE Constant for the state field. | final public static int | STATUS Constant for the workflow status field. | final public static int | STEP Constant for the workflow step field. |
ACTION | final public static int ACTION(Code) | | Constant for the workflow action field.
|
CALLER | final public static int CALLER(Code) | | Constant for the workflow caller field.
|
CURRENT_STEPS | final public static int CURRENT_STEPS(Code) | | Constant for the history steps context.
Specifying this context means that the search
should be performed against the workflow current steps.
|
DUE_DATE | final public static int DUE_DATE(Code) | | Constant for the workflow due date field.
|
ENTRY | final public static int ENTRY(Code) | | Constant for the workflow entry context.
Specifying this context means that the search
should be performed against the workflow entries.
|
EQUALS | final public static int EQUALS(Code) | | Constant for the equality operator.
|
FINISH_DATE | final public static int FINISH_DATE(Code) | | Constant for the workflow finish date field.
|
GT | final public static int GT(Code) | | Constant for the greater than operator.
|
HISTORY_STEPS | final public static int HISTORY_STEPS(Code) | | Constant for the history steps context.
Specifying this context means that the search
should be performed against the workflow steps.
|
LT | final public static int LT(Code) | | Constant for the less than operator.
|
NAME | final public static int NAME(Code) | | Constant for the workflow name field.
|
NOT_EQUALS | final public static int NOT_EQUALS(Code) | | Constant for the not equals operator.
|
OWNER | final public static int OWNER(Code) | | Constant for the workflow owner field.
|
START_DATE | final public static int START_DATE(Code) | | Constant for the workflow start date field.
|
STATE | final public static int STATE(Code) | | Constant for the state field.
|
STATUS | final public static int STATUS(Code) | | Constant for the workflow status field.
|
STEP | final public static int STEP(Code) | | Constant for the workflow step field.
|
FieldExpression | public FieldExpression()(Code) | | |
FieldExpression | public FieldExpression(int field, int context, int operator, Object value)(Code) | | |
FieldExpression | public FieldExpression(int field, int context, int operator, Object value, boolean negate)(Code) | | |
getContext | public int getContext()(Code) | | |
getField | public int getField()(Code) | | |
getOperator | public int getOperator()(Code) | | |
isNested | public boolean isNested()(Code) | | |
setContext | public void setContext(int context)(Code) | | |
setField | public void setField(int field)(Code) | | |
setOperator | public void setOperator(int operator)(Code) | | |
Fields inherited from com.opensymphony.workflow.query.Expression | protected boolean negate(Code)(Java Doc)
|
|
|