Class TaskBaseResource

    • 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 bulkTasksRequest)
      • getTasksFromIdList

        protected List<org.flowable.task.api.Task> getTasksFromIdList​(Collection<String> taskIds)
      • 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)
        Returns the Task that is requested without calling the access interceptor Throws the right exceptions when bad request was made or instance was not found.
      • getHistoricTaskFromRequest

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

        protected org.flowable.task.api.history.HistoricTaskInstance getHistoricTaskFromRequestWithoutAccessCheck​(String taskId)
        Returns the HistoricTaskInstance that is requested without calling the access interceptor Throws the right exceptions when bad request was made or instance was not found.