|
Oracle BPEL Process Manager Client Java API Reference 10g Release 3 (10.1.3.1.0) B28986-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IWorklistService
The IWorklistService
interface allows the user to search for and complete tasks that have been instantiated from the process domain.
Tasks are special instances of activities where the performer of the activity is manual rather than automated. Tasks may be assigned to particular assignees and may have expiration times associated with them.
This service can only be fetched through the domain locator method lookupService
.
Field Summary | |
---|---|
static javax.xml.namespace.QName |
QNAME Qualified XML name for the worklist service. |
static java.lang.String |
SERVICE_NAME Name of the worklist service. |
Method Summary | |
---|---|
void |
completeTask(ITask task) |
ITask[] |
listTasks(int listStart, int listSize) |
ITask[] |
listTasks(WhereCondition cond) Returns a list of tasks using the search condition specified by cond . |
ITask[] |
listTasks(WhereCondition cond, int listStart, int listSize) |
ITask[] |
listTasksByAssignee(java.lang.String assignee) Returns a list of tasks currently assigned to assignee . |
ITask[] |
listTasksByCreator(java.lang.String creator) Returns a list of tasks created by creator . |
ITask |
lookupTask(java.lang.String taskId) Returns the task whose task identifier is specified by taskId . |
void |
updateTask(ITask task) Synchronizes the task properties and payload contained within the domain with the specified value. |
Methods inherited from interface com.oracle.bpel.client.IService |
---|
getName |
Field Detail |
---|
static final java.lang.String SERVICE_NAME
Locator.lookupService(java.lang.String)
, Constant Field Valuesstatic final javax.xml.namespace.QName QNAME
Method Detail |
---|
ITask[] listTasksByAssignee(java.lang.String assignee) throws ServerException
assignee
.assignee
- the id of the user, group or role the listed tasks are currently assigned to.ServerException
- if there is a problem connecting to the domain or if there is a problem fetching the list of tasks from the domain.ITask[] listTasksByCreator(java.lang.String creator) throws ServerException
creator
.creator
- the id of the application or service which which initiated the listed tasks.ServerException
- if there is a problem connecting to the domain or if there is a problem fetching the list of tasks from the domain.ITask[] listTasks(int listStart, int listSize) throws ServerException
ServerException
ITask[] listTasks(WhereCondition cond) throws ServerException
cond
.wc
- the where condition filter to apply to the search.ServerException
- if there is a problem connecting to the domain or if there is a problem fetching the list of tasks from the domain.ITask[] listTasks(WhereCondition cond, int listStart, int listSize) throws ServerException
ServerException
ITask lookupTask(java.lang.String taskId) throws ServerException
taskId
. A task identifier is synonymous with an instance conversation identifier; the conversation identifier of the instance that has been created for the task is the task identifier.
The semantics attached to the value of the identifier are the sole domain and responsibility of the developer.
taskId
- the task identifierServerException
- if there is a problem connecting to the domain or if there is a problem fetching the task from the domain.void updateTask(ITask task) throws ServerException
task
- the task to synchronize withServerException
- if there is a problem connecting to the domain or if there is a problem updating the task values.void completeTask(ITask task) throws ServerException
ServerException
|
Oracle BPEL Process Manager Client Java API Reference 10g Release 3 (10.1.3.1.0) B28986-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |