|
Oracle BPEL Process Manager Client API Reference 10g Release 2 (10.1.2) B25709-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.oracle.bpel.client.util.WhereConditionHelper
Simple utility class to help users construct where condition clauses. Many queries require in-depth knowledge of the Orabpel process domain database schema; the goal of this class is to fabricate several canned query "stubs" that may be joined together to help the user form their desired where condition.
For example, to select for all the tasks that are open:
WhereCondition cond = WhereConditionHelper.whereOpenActivities(); cond.append( "and" ).append( WhereConditionHelper.whereTaskActivities() );
WhereCondition
Constructor Summary | |
WhereConditionHelper() |
Method Summary | |
static WhereCondition |
whereActivitiesCancelled() Constructs a where condition that searches for cancelled activities. |
static WhereCondition |
whereActivitiesClosed() Constructs a where condition that searches for closed activities. |
static WhereCondition |
whereActivitiesCompleted() Constructs a where condition that searches for completed activities. |
static WhereCondition |
whereActivitiesDueBy(java.util.Date dueDate) Constructs a where condition that searches for activities that will expire by the specified date. |
static WhereCondition |
whereActivitiesLabel(java.lang.String label) Constructs a where condition that searches for activities with the specified label. |
static WhereCondition |
whereActivitiesOpen() Constructs a where condition that searches for open activities. |
static WhereCondition |
whereActivitiesPastDue() Constructs a where condition that searches for activities that have already been expired. |
static WhereCondition |
whereActivitiesRecoverable() |
static WhereCondition |
whereActivitiesStale() Constructs a where condition that searches for activities that have been marked as stale. |
static WhereCondition |
whereCallbackMessagesRecoverable() |
static WhereCondition |
whereInstancesCancelled() Constructs a where condition that searches for cancelled instances. |
static WhereCondition |
whereInstancesClosed() Constructs a where condition that searches for closed instances. |
static WhereCondition |
whereInstancesCompleted() Constructs a where condition that searches for completed instances. |
static WhereCondition |
whereInstancesOpen() Constructs a where condition that searches for open instances. |
static WhereCondition |
whereInstancesStale() Constructs a where condition that searches for stale instances. |
static WhereCondition |
whereInvokeMessagesRecoverable() |
static WhereCondition |
whereTaskAssignee(java.lang.String assignee) Constructs a where condition that searches for tasks that have been assigned to the specified assignee. |
static WhereCondition |
whereTaskCreator(java.lang.String creator) Constructs a where condition that searches for tasks that have been created by the specified creator. |
static WhereCondition |
whereTasksActive() |
static WhereCondition |
whereTasksCancelled() |
static WhereCondition |
whereTasksCompleted() |
static WhereCondition |
whereTasksExpired() |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WhereConditionHelper()
Method Detail |
public static WhereCondition whereInstancesOpen()
public static WhereCondition whereInstancesClosed()
public static WhereCondition whereInstancesCompleted()
public static WhereCondition whereInstancesCancelled()
public static WhereCondition whereInstancesStale()
When a BPEL process is deployed on top of an existing (that is, deployed) BPEL process with the same process identifier and revision tag, all instances created from the old BPEL process are marked as stale and cannot be acted upon any longer.
Instances belonging to undeployed processes are also marked as stale.
public static WhereCondition whereActivitiesOpen()
public static WhereCondition whereActivitiesClosed()
public static WhereCondition whereActivitiesCompleted()
public static WhereCondition whereActivitiesCancelled()
public static WhereCondition whereActivitiesStale()
public static WhereCondition whereActivitiesDueBy(java.util.Date dueDate)
public static WhereCondition whereActivitiesPastDue()
public static WhereCondition whereActivitiesLabel(java.lang.String label)
public static WhereCondition whereActivitiesRecoverable()
public static WhereCondition whereInvokeMessagesRecoverable()
public static WhereCondition whereCallbackMessagesRecoverable()
public static WhereCondition whereTasksActive()
public static WhereCondition whereTasksCompleted()
public static WhereCondition whereTasksCancelled()
public static WhereCondition whereTasksExpired()
public static WhereCondition whereTaskAssignee(java.lang.String assignee)
public static WhereCondition whereTaskCreator(java.lang.String creator)
|
Oracle BPEL Process Manager Client API Reference 10g Release 2 (10.1.2) B25709-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |