|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TaskManager
The workflow engine services relate to task management.
Method Summary | |
---|---|
void |
assignTask(Task task,
User delegator)
Adds a new task in the user's todos. |
Task |
createTask(Actor actor,
ProcessInstance processInstance)
Builds a new task (assigned or assignable). |
Task[] |
createTasks(Actor[] actors,
ProcessInstance processInstance)
Builds new tasks (assigned or assignable). |
Task |
getCreationTask(User user,
String roleName,
ProcessModel processModel)
Returns the creation task of a processModel or null if the user is not allowed to create a new instance. |
String |
getProcessInstanceIdFromExternalTodoId(String externalTodoId)
Get the process instance Id referred by the todo with the given todo id |
String |
getRoleNameFromExternalTodoId(String externalTodoId)
Get the role name of task referred by the todo with the given todo id |
Task[] |
getTasks(User user,
String roleName,
ProcessInstance processInstance)
Returns the tasks assigned to a user on a processInstance. |
void |
notifyActor(Task task,
User sender,
User user,
String text)
Notify user that an action has been done |
void |
unAssignTask(Task task)
Removes a task from the user's todos. |
Method Detail |
---|
void assignTask(Task task, User delegator) throws WorkflowException
WorkflowException
void unAssignTask(Task task) throws WorkflowException
WorkflowException
Task createTask(Actor actor, ProcessInstance processInstance) throws WorkflowException
WorkflowException
Task[] createTasks(Actor[] actors, ProcessInstance processInstance) throws WorkflowException
WorkflowException
Task[] getTasks(User user, String roleName, ProcessInstance processInstance) throws WorkflowException
WorkflowException
Task getCreationTask(User user, String roleName, ProcessModel processModel) throws WorkflowException
WorkflowException
String getProcessInstanceIdFromExternalTodoId(String externalTodoId) throws WorkflowException
WorkflowException
String getRoleNameFromExternalTodoId(String externalTodoId) throws WorkflowException
WorkflowException
void notifyActor(Task task, User sender, User user, String text) throws WorkflowException
WorkflowException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |