@ConversationScoped @Named(value="camundaTaskForm") public class TaskForm extends Object implements Serializable
Modifier and Type | Field and 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 and Description |
---|
TaskForm() |
Modifier and Type | Method and 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 form
|
void |
startProcessInstanceByIdForm(String processDefinitionId,
String callbackUrl)
Deprecated.
use
startProcessInstanceByIdForm() instead |
void |
startProcessInstanceByKeyForm()
Get processDefinitionKey and callbackUrl from request and start a conversation
to start the form
|
void |
startProcessInstanceByKeyForm(String processDefinitionKey,
String callbackUrl)
Deprecated.
use
startProcessInstanceByKeyForm() instead |
void |
startTask(String taskId,
String callbackUrl)
Deprecated.
use
startTaskForm() instead |
void |
startTaskForm()
Get taskId and callBackUrl from request and start a conversation
to start the form
|
protected String url
protected String processDefinitionId
protected String processDefinitionKey
@Inject protected BusinessProcess businessProcess
@Inject protected RepositoryService repositoryService
@Inject protected javax.enterprise.inject.Instance<javax.enterprise.context.Conversation> conversationInstance
@Deprecated public void startTask(String taskId, String callbackUrl)
startTaskForm()
insteadtaskId
- callbackUrl
- public void startTaskForm()
public void completeTask() throws IOException
IOException
@Deprecated public void startProcessInstanceByIdForm(String processDefinitionId, String callbackUrl)
startProcessInstanceByIdForm()
insteadprocessDefinitionId
- callbackUrl
- public void startProcessInstanceByIdForm()
@Deprecated public void startProcessInstanceByKeyForm(String processDefinitionKey, String callbackUrl)
startProcessInstanceByKeyForm()
insteadprocessDefinitionKey
- callbackUrl
- public void startProcessInstanceByKeyForm()
public void completeProcessInstanceForm() throws IOException
IOException
public ProcessDefinition getProcessDefinition()
public String getUrl()
public void setUrl(String url)
Copyright © 2020. All rights reserved.