Class TaskBaseResource

    • Field Detail

      • taskService

        @Autowired
        protected org.flowable.cmmn.api.CmmnTaskService taskService
      • historyService

        @Autowired
        protected org.flowable.cmmn.api.CmmnHistoryService historyService
    • Constructor Detail

      • TaskBaseResource

        public TaskBaseResource()
    • Method Detail

      • getDelegationState

        protected org.flowable.task.api.DelegationState getDelegationState​(String delegationState)
      • populateTaskFromRequest

        protected void populateTaskFromRequest​(org.flowable.task.api.Task task,
                                               TaskRequest taskRequest)
        Populate the task based on the values that are present in the given TaskRequest.
      • populateTasksFromRequest

        protected void populateTasksFromRequest​(Collection<org.flowable.task.api.Task> taskList,
                                                BulkTasksRequest taskRequest)
        Populate the tasks based on the values that are present in the given BulkTasksRequest.
      • addTaskvariables

        protected void addTaskvariables​(org.flowable.task.api.TaskQuery taskQuery,
                                        List<QueryVariable> variables)
      • addProcessvariables

        protected void addProcessvariables​(org.flowable.task.api.TaskQuery taskQuery,
                                           List<QueryVariable> variables)
      • getTaskFromRequest

        protected org.flowable.task.api.Task getTaskFromRequest​(String taskId)
        Returns the Task that is requested and calls the access interceptor. Throws the right exceptions when bad request was made or instance was not found.
      • getTaskFromRequestWithoutAccessCheck

        protected org.flowable.task.api.Task getTaskFromRequestWithoutAccessCheck​(String taskId)
      • getTasksFromRequest

        protected List<org.flowable.task.api.Task> getTasksFromRequest​(Collection<String> taskIds)