|
Oracle Fusion Middleware Workflow Services Java API Reference for Oracle SOA Suite 11g Release 1 (11.1.1) E10660-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.bpel.services.workflow.repos.PredicateConstants
oracle.bpel.services.workflow.repos.Predicate
public class Predicate
Field Summary |
---|
Fields inherited from class oracle.bpel.services.workflow.repos.PredicateConstants |
---|
AND, DATATYPE_NAMES, LOWER, NUMBER_OF_OPERATORS, OP_AFTER, OP_BEFORE, OP_BEGINS, OP_CONTAINS, OP_ENDS, OP_EQ, OP_GT, OP_GTE, OP_IN, OP_IS_NOT_NULL, OP_IS_NULL, OP_LAST_N_DAYS, OP_LIKE, OP_LT, OP_LTE, OP_NEQ, OP_NEXT_N_DAYS, OP_NOT_BEGINS, OP_NOT_CONTAINS, OP_NOT_ENDS, OP_NOT_IN, OP_NOT_LIKE, OP_ON, OPERATOR_NAMES, OR, SYSDATE, UPPER, VALID_DATE_OPERATORS, VALID_DEFAULT_OPERATORS, VALID_JOIN_OPERATORS, VALID_STRING_OPERATORS |
Constructor Summary | |
---|---|
Predicate(Column column1, int operation, Column column2) Constructor to create the join predicate based on columns. |
|
Predicate(Column column, int operation, IdentityType identityType) Constructor to create the simple predicate based on IdentityType value. |
|
Predicate(Column column, int operation, IdentityType identityType, boolean ignoreCase) Constructor to create the simple predicate based on IdentityType value with ignore case. |
|
Predicate(Column column, int operation, java.util.List values) Constructor to create the simple predicate based on list of values. |
|
Predicate(Column column, int operation, java.util.List values, boolean ignoreCase) Constructor to create the simple predicate based on list of values. |
|
Predicate(Column column, int operation, java.lang.Object value) Constructor to create the simple predicate based on one value. |
|
Predicate(Column column, int operation, java.lang.Object value, boolean ignoreCase) Constructor to create the simple predicate based on one value with ignore case. |
|
Predicate(Predicate pred1, int logical, Predicate pred2) Constructor to create the complex predicate from two predicates using logical opeartor. |
|
Predicate(PredicateType predicateType) Constructor to create a predicate from PredicateType. |
Method Summary | |
---|---|
void |
addClause(int logicalOperator, Column column1, int operation, Column column2) To add one more filtering criteria to existing predicate by using logical operator based on columns. |
void |
addClause(int logicalOperator, Column column, int operation, IdentityType identityTypeValue) To add one more filtering criteria to existing predicate by using logical operator based on an identityType value. |
void |
addClause(int logicalOperator, Column column, int operation, IdentityType identityTypeValue, boolean ignoreCase) To add one more filtering criteria to existing predicate by using logical operator based on an identityType value. |
void |
addClause(int logicalOperator, Column column, int operation, java.util.List values) To add one more filtering criteria to existing predicate by using logical operator based on list of values. |
void |
addClause(int logicalOperator, Column column, int operation, java.util.List values, boolean ignoreCase) To add one more filtering criteria to existing predicate by using logical operator based on list of values with ignore case. |
void |
addClause(int logicalOperator, Column column, int operation, java.lang.Object value) To add one more filtering criteria to existing predicate by using logical operator based on one value. |
void |
addClause(int logicalOperator, Column column, int operation, java.lang.Object value, boolean ignoreCase) To add one more filtering criteria to existing predicate by using logical operator based on one value with ignore case. |
static Predicate |
createPredicate(java.util.List<PredicateClauseType> predicateClauseList, java.lang.String tableName) Builds Predicate from supplied List of PredicateClauseType JAXB objects, using the supplied table name where clauses do not specify a table. |
static void |
enableXMLSerialization(boolean enableXMLSerialization) Deprecated. |
PredicateType |
getPredicateType() Returns the predicate JAXB object. |
java.lang.String |
getString() Return predicate as a string |
java.util.List |
getTables() Deprecated. |
java.util.List |
getValues() Deprecated. |
java.lang.String |
toString() Return predicate as a string |
Methods inherited from class oracle.bpel.services.workflow.repos.PredicateConstants |
---|
getLogicalOperator, getOperationName, getOperationNumber, getOperator |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Predicate(Column column, int operation, java.lang.Object value) throws WorkflowException
column
- String name of the columnoperation
- int opertaion on the predicatevalue
- Object search valueWorkflowException
public Predicate(Column column, int operation, IdentityType identityType) throws WorkflowException
column
- String name of the columnoperation
- int opertaion on the predicateidentityType
- IdentityTypeWorkflowException
public Predicate(Column column, int operation, IdentityType identityType, boolean ignoreCase) throws WorkflowException
column
- String name of the columnoperation
- int opertaion on the predicateidentityType
- IdentityTypeignoreCase
- boolean true/falseWorkflowException
public Predicate(Column column, int operation, java.lang.Object value, boolean ignoreCase) throws WorkflowException
column
- Column object to query againstoperation
- int opertaion on the predicatevalue
- Object search valueignoreCase
- boolean true/falseWorkflowException
public Predicate(Column column, int operation, java.util.List values) throws WorkflowException
column
- Column object to query againstoperation
- int opertaion on the predicatevalues
- Object search valueWorkflowException
public Predicate(Column column, int operation, java.util.List values, boolean ignoreCase) throws WorkflowException
column
- Column object to query againstoperation
- int opertaion on the predicatevalues
- List search valuesignoreCase
- boolean true/falseWorkflowException
public Predicate(Column column1, int operation, Column column2) throws WorkflowException
column1
- Column for joiningoperation
- int opertaion on the predicatecolumn2
- Column for joiningWorkflowException
public Predicate(Predicate pred1, int logical, Predicate pred2) throws WorkflowException
pred1
- Predicatelogical
- int logical operaton like AND or ORpred2
- PredicateWorkflowException
public Predicate(PredicateType predicateType) throws WorkflowException
predicateType
- PredicateTypeWorkflowException
Method Detail |
---|
public static Predicate createPredicate(java.util.List<PredicateClauseType> predicateClauseList, java.lang.String tableName) throws WorkflowException
predicateClauseList
- List of PredicateClauseType objects to build Predicate from.tableName
- name of table this predicate if for. If no value is specified, the table is assumed to be WFTaskWorkflowException
public void addClause(int logicalOperator, Column column, int operation, java.lang.Object value) throws WorkflowException
logicalOperator
- int Operator like AND or ORcolumn
- Columnoperation
- int Operation to filter the datavalue
- Object search valueWorkflowException
public void addClause(int logicalOperator, Column column, int operation, IdentityType identityTypeValue, boolean ignoreCase) throws WorkflowException
logicalOperator
- int Operator like AND or ORcolumn
- Columnoperation
- int Operation to filter the dataidentityTypeValue
- IdentityTypeignoreCase
- boolean true/falseWorkflowException
public void addClause(int logicalOperator, Column column, int operation, IdentityType identityTypeValue) throws WorkflowException
logicalOperator
- int Operator like AND or ORcolumn
- Columnoperation
- int Operation to filter the dataidentityTypeValue
- IdentityTypeWorkflowException
public void addClause(int logicalOperator, Column column, int operation, java.lang.Object value, boolean ignoreCase) throws WorkflowException
logicalOperator
- int Operator like AND or ORcolumn
- Columnoperation
- int Operation to filter the datavalue
- Object search valueignoreCase
- boolean true/falseWorkflowException
public void addClause(int logicalOperator, Column column, int operation, java.util.List values) throws WorkflowException
logicalOperator
- int Operator like AND or ORcolumn
- Columnoperation
- int Operation to filter the datavalues
- List of valuesWorkflowException
public void addClause(int logicalOperator, Column column, int operation, java.util.List values, boolean ignoreCase) throws WorkflowException
logicalOperator
- int Operator like AND or ORcolumn
- Columnoperation
- int Operation to filter the datavalues
- List of valuesignoreCase
- boolean true/falseWorkflowException
public void addClause(int logicalOperator, Column column1, int operation, Column column2) throws WorkflowException
logicalOperator
- int Operator like AND or ORcolumn1
- Columnoperation
- int Operation to filter the datacolumn2
- ColumnWorkflowException
public static void enableXMLSerialization(boolean enableXMLSerialization)
public PredicateType getPredicateType()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getString()
public java.util.List getTables()
public java.util.List getValues()
|
Oracle Fusion Middleware Workflow Services Java API Reference for Oracle SOA Suite 11g Release 1 (11.1.1) E10660-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |