Class TaskManager

    • Constructor Detail

      • TaskManager

        public TaskManager()
    • Method Detail

      • insertTask

        public void insertTask​(TaskEntity task)
      • deleteTasksByProcessInstanceId

        public void deleteTasksByProcessInstanceId​(java.lang.String processInstanceId,
                                                   java.lang.String deleteReason,
                                                   boolean cascade,
                                                   boolean skipCustomListeners)
      • deleteTasksByCaseInstanceId

        public void deleteTasksByCaseInstanceId​(java.lang.String caseInstanceId,
                                                java.lang.String deleteReason,
                                                boolean cascade)
      • deleteTask

        public void deleteTask​(TaskEntity task,
                               java.lang.String deleteReason,
                               boolean cascade,
                               boolean skipCustomListeners)
      • findTaskById

        public TaskEntity findTaskById​(java.lang.String id)
      • findTasksByExecutionId

        public java.util.List<TaskEntity> findTasksByExecutionId​(java.lang.String executionId)
      • findTaskByCaseExecutionId

        public TaskEntity findTaskByCaseExecutionId​(java.lang.String caseExecutionId)
      • findTasksByProcessInstanceId

        public java.util.List<TaskEntity> findTasksByProcessInstanceId​(java.lang.String processInstanceId)
      • findTasksByQueryCriteria

        @Deprecated
        public java.util.List<Task> findTasksByQueryCriteria​(TaskQueryImpl taskQuery,
                                                             Page page)
        Deprecated.
      • findTasksByQueryCriteria

        public java.util.List<Task> findTasksByQueryCriteria​(TaskQueryImpl taskQuery)
      • findTaskCountByQueryCriteria

        public long findTaskCountByQueryCriteria​(TaskQueryImpl taskQuery)
      • findTasksByNativeQuery

        public java.util.List<Task> findTasksByNativeQuery​(java.util.Map<java.lang.String,​java.lang.Object> parameterMap,
                                                           int firstResult,
                                                           int maxResults)
      • findTaskCountByNativeQuery

        public long findTaskCountByNativeQuery​(java.util.Map<java.lang.String,​java.lang.Object> parameterMap)
      • findTasksByParentTaskId

        public java.util.List<Task> findTasksByParentTaskId​(java.lang.String parentTaskId)
      • updateTaskSuspensionStateByProcessDefinitionId

        public void updateTaskSuspensionStateByProcessDefinitionId​(java.lang.String processDefinitionId,
                                                                   SuspensionState suspensionState)
      • updateTaskSuspensionStateByProcessInstanceId

        public void updateTaskSuspensionStateByProcessInstanceId​(java.lang.String processInstanceId,
                                                                 SuspensionState suspensionState)
      • updateTaskSuspensionStateByProcessDefinitionKey

        public void updateTaskSuspensionStateByProcessDefinitionKey​(java.lang.String processDefinitionKey,
                                                                    SuspensionState suspensionState)
      • updateTaskSuspensionStateByProcessDefinitionKeyAndTenantId

        public void updateTaskSuspensionStateByProcessDefinitionKeyAndTenantId​(java.lang.String processDefinitionKey,
                                                                               java.lang.String processDefinitionTenantId,
                                                                               SuspensionState suspensionState)
      • updateTaskSuspensionStateByCaseExecutionId

        public void updateTaskSuspensionStateByCaseExecutionId​(java.lang.String caseExecutionId,
                                                               SuspensionState suspensionState)
      • createDefaultAuthorizations

        protected void createDefaultAuthorizations​(TaskEntity task)
      • configureQuery

        protected void configureQuery​(TaskQueryImpl query)
      • configureParameterizedQuery

        protected ListQueryParameterObject configureParameterizedQuery​(java.lang.Object parameter)