|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface TaskComponent
SPI to be implemented by a BPM Engine that provides Task management.
| Method Summary | |
|---|---|
WorkflowTask |
endTask(java.lang.String taskId,
java.lang.String transitionId)
End the Task (i.e. |
java.util.List |
getAssignedTasks(java.lang.String authority,
WorkflowTaskState state)
Gets all tasks assigned to the specified authority |
java.util.List |
getPooledTasks(java.util.List authorities)
Gets the pooled tasks available to the specified authority |
WorkflowTask |
getTaskById(java.lang.String taskId)
Gets a Task by unique Id |
java.util.List |
queryTasks(WorkflowTaskQuery query)
Query for tasks |
WorkflowTask |
startTask(java.lang.String taskId)
Start the specified Task Note: this is an optional task operation. |
WorkflowTask |
suspendTask(java.lang.String taskId)
Suspend the specified Task |
WorkflowTask |
updateTask(java.lang.String taskId,
java.util.Map properties,
java.util.Map add,
java.util.Map remove)
Update the Properties and Associations of a Task |
| Method Detail |
|---|
WorkflowTask getTaskById(java.lang.String taskId)
taskId - the task id
java.util.List getAssignedTasks(java.lang.String authority,
WorkflowTaskState state)
authority - the authoritystate - filter by specified workflow task state
java.util.List getPooledTasks(java.util.List authorities)
authority - the authority
java.util.List queryTasks(WorkflowTaskQuery query)
query - the filter by which tasks are queried
WorkflowTask updateTask(java.lang.String taskId,
java.util.Map properties,
java.util.Map add,
java.util.Map remove)
taskId - the task id to updateproperties - the map of properties to set on the task (or null, if none to set)add - the map of items to associate with the task (or null, if none to add)remove - the map of items to dis-associate with the task (or null, if none to remove)
WorkflowTask startTask(java.lang.String taskId)
taskId - the task to start
WorkflowTask suspendTask(java.lang.String taskId)
taskId -
WorkflowTask endTask(java.lang.String taskId,
java.lang.String transitionId)
taskId - the task id to endtransition - the task transition to take on completion (or null, for the default transition)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||