| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WorkflowEngine
The workflow engine main services.
| Method Summary | |
|---|---|
|  void | process(QuestionEvent event)A question has been sent to a previous participant | 
|  void | process(ResponseEvent event)A question had been sent to a previous participant. | 
|  void | process(TaskDoneEvent event)A task has been done and sent to the workflow Enginewhich has to process it. | 
|  void | process(TaskDoneEvent event,
        boolean ignoreControls)A task has been done and sent to the workflow Enginewhich has to process it. | 
|  void | process(TaskSavedEvent event)A task has been saved and sent to the workflow Enginewhich has to process it. | 
|  void | reAssignActors(UpdatableProcessInstance instance,
               Actor[] unAssignedActors,
               Actor[] assignedActors,
               User user)Do re-affectation for given states Remove users as working users and unassign corresponding tasks Add users as working users and assign corresponding tasks | 
| Method Detail | 
|---|
void process(TaskDoneEvent event,
             boolean ignoreControls)
             throws WorkflowException
event - the task event that has been done.ignoreControls - if true, ignore controls about locks and permissions.
WorkflowException
void process(TaskDoneEvent event)
             throws WorkflowException
event - the task event that has been done.
WorkflowException
void process(TaskSavedEvent event)
             throws WorkflowException
event - the task event that has been saved.
WorkflowException
void process(QuestionEvent event)
             throws WorkflowException
event - the question event containing all necessary information
WorkflowException
void process(ResponseEvent event)
             throws WorkflowException
event - the response event containing all necessary information
WorkflowException
void reAssignActors(UpdatableProcessInstance instance,
                    Actor[] unAssignedActors,
                    Actor[] assignedActors,
                    User user)
                    throws WorkflowException
WorkflowException| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||