|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.silverpeas.workflow.engine.task.AbstractTaskManager
public abstract class AbstractTaskManager
The AbstractTaskManager implements all the silverpeas internal TaskManager methods. This Class will be extended for each external todo managenent system.
Constructor Summary | |
---|---|
AbstractTaskManager()
|
Method Summary | |
---|---|
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. |
Task[] |
getTasks(User user,
String roleName,
ProcessInstance processInstance)
Returns the tasks assigned to a user on a processInstance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.silverpeas.workflow.api.TaskManager |
---|
assignTask, getProcessInstanceIdFromExternalTodoId, getRoleNameFromExternalTodoId, notifyActor, unAssignTask |
Constructor Detail |
---|
public AbstractTaskManager()
Method Detail |
---|
public Task createTask(Actor actor, ProcessInstance processInstance) throws WorkflowException
createTask
in interface TaskManager
WorkflowException
public Task[] createTasks(Actor[] actors, ProcessInstance processInstance) throws WorkflowException
createTasks
in interface TaskManager
WorkflowException
public Task[] getTasks(User user, String roleName, ProcessInstance processInstance) throws WorkflowException
getTasks
in interface TaskManager
WorkflowException
public Task getCreationTask(User user, String roleName, ProcessModel processModel) throws WorkflowException
getCreationTask
in interface TaskManager
WorkflowException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |