站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss JBPM 3.0.4 API 英文版文档

TaskControllerHandler (jbpm-3.0.4) - JBoss JBPM 3.0.4 API 英文版文档


org.jbpm.taskmgmt.def
Interface TaskControllerHandler

All Superinterfaces:
java.io.Serializable

public interface TaskControllerHandler
extends java.io.Serializable


Method Summary
 java.util.List getTaskFormParameters(TaskInstance taskInstance)
          is called to prepare a task view.
 void submitParameters(java.util.Map parameters, TaskInstance taskInstance)
          is called when a user submits parameters for a given task.
 

Method Detail

getTaskFormParameters

public java.util.List getTaskFormParameters(TaskInstance taskInstance)
is called to prepare a task view. this method extracts all information from the process context (optionally indirect) and returns a set of variables. the task form is specified in terms of parameters.

Returns:
a List of TaskFormParameters.

submitParameters

public void submitParameters(java.util.Map parameters,
                             TaskInstance taskInstance)
is called when a user submits parameters for a given task. optionally this method can mark completion of the task.



Version : jbpm-3.0.4