KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jbpm > taskmgmt > def > TaskControllerHandler


1 package org.jbpm.taskmgmt.def;
2
3 import java.io.Serializable JavaDoc;
4 import java.util.List JavaDoc;
5 import java.util.Map JavaDoc;
6
7 import org.jbpm.taskmgmt.exe.TaskInstance;
8
9 public interface TaskControllerHandler extends Serializable JavaDoc {
10
11   /**
12    * is called to prepare a task view. this method extracts all information
13    * from the process context (optionally indirect) and returns a set of
14    * variables. the task form is specified in terms of parameters.
15    * @return a List of {@link org.jbpm.taskmgmt.exe.TaskFormParameter}s.
16    */

17   List JavaDoc getTaskFormParameters(TaskInstance taskInstance);
18   
19   /**
20    * is called when a user submits parameters for a given task. optionally
21    * this method can mark completion of the task.
22    */

23   void submitParameters(Map JavaDoc parameters, TaskInstance taskInstance);
24
25 }
26
Popular Tags