Package org.camunda.bpm.engine.cdi.jsf
Class TaskForm
- java.lang.Object
-
- org.camunda.bpm.engine.cdi.jsf.TaskForm
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CamundaTaskForm
,FoxTaskForm
@ConversationScoped @Named("camundaTaskForm") public class TaskForm extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected BusinessProcess
businessProcess
protected javax.enterprise.inject.Instance<javax.enterprise.context.Conversation>
conversationInstance
protected String
processDefinitionId
protected String
processDefinitionKey
protected RepositoryService
repositoryService
protected String
url
-
Constructor Summary
Constructors Constructor Description TaskForm()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
completeProcessInstanceForm()
void
completeTask()
ProcessDefinition
getProcessDefinition()
String
getUrl()
void
setUrl(String url)
void
startProcessInstanceByIdForm()
Get processDefinitionId and callbackUrl from request and start a conversation to start the formvoid
startProcessInstanceByIdForm(String processDefinitionId, String callbackUrl)
Deprecated.usestartProcessInstanceByIdForm()
insteadvoid
startProcessInstanceByKeyForm()
Get processDefinitionKey and callbackUrl from request and start a conversation to start the formvoid
startProcessInstanceByKeyForm(String processDefinitionKey, String callbackUrl)
Deprecated.usestartProcessInstanceByKeyForm()
insteadvoid
startTask(String taskId, String callbackUrl)
Deprecated.usestartTaskForm()
insteadvoid
startTaskForm()
Get taskId and callBackUrl from request and start a conversation to start the form
-
-
-
Field Detail
-
url
protected String url
-
processDefinitionId
protected String processDefinitionId
-
processDefinitionKey
protected String processDefinitionKey
-
businessProcess
@Inject protected BusinessProcess businessProcess
-
repositoryService
@Inject protected RepositoryService repositoryService
-
conversationInstance
@Inject protected javax.enterprise.inject.Instance<javax.enterprise.context.Conversation> conversationInstance
-
-
Method Detail
-
startTask
@Deprecated public void startTask(String taskId, String callbackUrl)
Deprecated.usestartTaskForm()
instead- Parameters:
taskId
-callbackUrl
-
-
startTaskForm
public void startTaskForm()
Get taskId and callBackUrl from request and start a conversation to start the form
-
completeTask
public void completeTask() throws IOException
- Throws:
IOException
-
startProcessInstanceByIdForm
@Deprecated public void startProcessInstanceByIdForm(String processDefinitionId, String callbackUrl)
Deprecated.usestartProcessInstanceByIdForm()
instead- Parameters:
processDefinitionId
-callbackUrl
-
-
startProcessInstanceByIdForm
public void startProcessInstanceByIdForm()
Get processDefinitionId and callbackUrl from request and start a conversation to start the form
-
startProcessInstanceByKeyForm
@Deprecated public void startProcessInstanceByKeyForm(String processDefinitionKey, String callbackUrl)
Deprecated.usestartProcessInstanceByKeyForm()
instead- Parameters:
processDefinitionKey
-callbackUrl
-
-
startProcessInstanceByKeyForm
public void startProcessInstanceByKeyForm()
Get processDefinitionKey and callbackUrl from request and start a conversation to start the form
-
completeProcessInstanceForm
public void completeProcessInstanceForm() throws IOException
- Throws:
IOException
-
getProcessDefinition
public ProcessDefinition getProcessDefinition()
-
getUrl
public String getUrl()
-
setUrl
public void setUrl(String url)
-
-