Class 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 Detail

      • url

        protected java.lang.String url
      • processDefinitionId

        protected java.lang.String processDefinitionId
      • processDefinitionKey

        protected java.lang.String processDefinitionKey
      • conversationInstance

        @Inject
        protected javax.enterprise.inject.Instance<javax.enterprise.context.Conversation> conversationInstance
    • Constructor Detail

      • TaskForm

        public TaskForm()
    • Method Detail

      • startTask

        @Deprecated
        public void startTask​(java.lang.String taskId,
                              java.lang.String callbackUrl)
        Deprecated.
        use startTaskForm() 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.
        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.
        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
      • getUrl

        public java.lang.String getUrl()
      • setUrl

        public void setUrl​(java.lang.String url)