@Name(value="org.jboss.seam.bpm.pooledTask") @Scope(value=APPLICATION) @Install(precedence=0, dependencies="org.jboss.seam.bpm.jbpm") public class PooledTask extends Object
TaskInstanceList| Constructor and Description |
|---|
PooledTask() |
| Modifier and Type | Method and Description |
|---|---|
String |
assign(String actorId)
Assign the TaskInstance with the id passed
in the request parameter named "taskId" to
the given actor id.
|
String |
assignToCurrentActor()
Assign the TaskInstance with the id passed
in the request parameter named "taskId" to
the current actor.
|
org.jbpm.taskmgmt.exe.TaskInstance |
getTaskInstance() |
String |
unassign()
Unassign the TaskInstance with the id passed
in the request parameter named "taskId" from
the actor to which it is assigned, and return
it to the pool it came from.
|
@Transactional public String assignToCurrentActor()
Actor@Transactional public String assign(String actorId)
actorId - the jBPM actor id@Transactional public String unassign()
@Transactional public org.jbpm.taskmgmt.exe.TaskInstance getTaskInstance()
Copyright © 2015 Seam Framework. All Rights Reserved.