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:
-
Field Summary
Modifier and TypeFieldDescriptionprotected BusinessProcess
protected jakarta.enterprise.inject.Instance<jakarta.enterprise.context.Conversation>
protected String
protected String
protected RepositoryService
protected String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
getUrl()
void
void
Get processDefinitionId and callbackUrl from request and start a conversation to start the formvoid
startProcessInstanceByIdForm
(String processDefinitionId, String callbackUrl) Deprecated.void
Get processDefinitionKey and callbackUrl from request and start a conversation to start the formvoid
startProcessInstanceByKeyForm
(String processDefinitionKey, String callbackUrl) Deprecated.usestartProcessInstanceByKeyForm()
insteadvoid
Deprecated.usestartTaskForm()
insteadvoid
Get taskId and callBackUrl from request and start a conversation to start the form
-
Field Details
-
url
-
processDefinitionId
-
processDefinitionKey
-
businessProcess
-
repositoryService
-
conversationInstance
@Inject protected jakarta.enterprise.inject.Instance<jakarta.enterprise.context.Conversation> conversationInstance
-
-
Constructor Details
-
TaskForm
public TaskForm()
-
-
Method Details
-
startTask
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
- 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
- Throws:
IOException
-
getProcessDefinition
-
getUrl
-
setUrl
-
startProcessInstanceByIdForm()
instead