Package org.camunda.bpm.engine.cdi.jsf
Class TaskForm
- java.lang.Object
-
- org.camunda.bpm.engine.cdi.jsf.TaskForm
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
CamundaTaskForm
,FoxTaskForm
@ConversationScoped @Named("camundaTaskForm") public class TaskForm extends java.lang.Object implements java.io.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 java.lang.String
processDefinitionId
protected java.lang.String
processDefinitionKey
protected RepositoryService
repositoryService
protected java.lang.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()
java.lang.String
getUrl()
void
setUrl(java.lang.String url)
void
startProcessInstanceByIdForm()
Get processDefinitionId and callbackUrl from request and start a conversation to start the formvoid
startProcessInstanceByIdForm(java.lang.String processDefinitionId, java.lang.String callbackUrl)
Deprecated.usestartProcessInstanceByIdForm()
insteadvoid
startProcessInstanceByKeyForm()
Get processDefinitionKey and callbackUrl from request and start a conversation to start the formvoid
startProcessInstanceByKeyForm(java.lang.String processDefinitionKey, java.lang.String callbackUrl)
Deprecated.usestartProcessInstanceByKeyForm()
insteadvoid
startTask(java.lang.String taskId, java.lang.String callbackUrl)
Deprecated.usestartTaskForm()
insteadvoid
startTaskForm()
Get taskId and callBackUrl from request and start a conversation to start the form
-
-
-
Field Detail
-
url
protected java.lang.String url
-
processDefinitionId
protected java.lang.String processDefinitionId
-
processDefinitionKey
protected java.lang.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(java.lang.String taskId, java.lang.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 java.io.IOException
- Throws:
java.io.IOException
-
startProcessInstanceByIdForm
@Deprecated public void startProcessInstanceByIdForm(java.lang.String processDefinitionId, java.lang.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(java.lang.String processDefinitionKey, java.lang.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 java.io.IOException
- Throws:
java.io.IOException
-
getProcessDefinition
public ProcessDefinition getProcessDefinition()
-
getUrl
public java.lang.String getUrl()
-
setUrl
public void setUrl(java.lang.String url)
-
-