Uses of Interface
org.camunda.bpm.engine.task.Task
-
Packages that use Task Package Description org.camunda.bpm.engine Public API of the Camunda Platform engine.
Typical usage of the API starts by the creation of aProcessEngineConfiguration(typically based on a configuration file), from which aProcessEnginecan be obtained.
Through the services obtained from such aProcessEngine, BPM and workflow operation can be executed:
RepositoryService: ManagesDeployments
RuntimeService: For starting and searchingProcessInstances
TaskService: Exposes operations to manage human (standalone)Tasks, such as claiming, completing and assigning tasks
IdentityService: Used for managingUsers,Groups and the relations between them
ManagementService: Exposes engine admin and maintenance operations, which have no relation to the runtime execution of business processes
HistoryService: Exposes information about ongoing and past process instances.
FormService: Access to form data and rendered forms for starting new process instances and completing tasks.org.camunda.bpm.engine.cdi org.camunda.bpm.engine.cdi.impl.context org.camunda.bpm.engine.form Classes related to theFormService.org.camunda.bpm.engine.impl API implementation classes, which shouldn't directly be used by end-users.org.camunda.bpm.engine.impl.calendar org.camunda.bpm.engine.impl.cfg.auth org.camunda.bpm.engine.impl.cmd org.camunda.bpm.engine.impl.cmmn.execution org.camunda.bpm.engine.impl.form org.camunda.bpm.engine.impl.persistence.entity org.camunda.bpm.engine.rest.dto.task org.camunda.bpm.engine.rest.hal.task org.camunda.bpm.engine.rest.impl org.camunda.bpm.engine.rest.sub.runtime.impl org.camunda.bpm.engine.rest.sub.task.impl org.camunda.bpm.engine.test.assertions.bpmn -
-
Uses of Task in org.camunda.bpm.engine
Methods in org.camunda.bpm.engine that return Task Modifier and Type Method Description TaskTaskService. newTask()Creates a new task that is not related to any process instance.TaskTaskService. newTask(java.lang.String taskId)create a new task with a user defined task idMethods in org.camunda.bpm.engine that return types with arguments of type Task Modifier and Type Method Description java.util.List<Task>TaskService. getSubTasks(java.lang.String parentTaskId)The list of subtasks for this parent taskMethods in org.camunda.bpm.engine with parameters of type Task Modifier and Type Method Description voidTaskService. saveTask(Task task)Saves the given task to the persistent data store. -
Uses of Task in org.camunda.bpm.engine.cdi
Methods in org.camunda.bpm.engine.cdi that return Task Modifier and Type Method Description TaskBusinessProcess. getTask()Returns the currently associatedTaskor 'null'TaskCurrentProcessInstance. getTask()Returns the currently associatedTaskor 'null'TaskBusinessProcess. startTask(java.lang.String taskId)Associates the task with the provided taskId with the current conversation.TaskBusinessProcess. startTask(java.lang.String taskId, boolean beginConversation)Methods in org.camunda.bpm.engine.cdi with parameters of type Task Modifier and Type Method Description voidBusinessProcess. setTask(Task task) -
Uses of Task in org.camunda.bpm.engine.cdi.impl.context
Fields in org.camunda.bpm.engine.cdi.impl.context declared as Task Modifier and Type Field Description protected TaskScopedAssociation. taskMethods in org.camunda.bpm.engine.cdi.impl.context that return Task Modifier and Type Method Description TaskContextAssociationManager. getTask()get the current taskTaskDefaultContextAssociationManager. getTask()TaskScopedAssociation. getTask()Methods in org.camunda.bpm.engine.cdi.impl.context with parameters of type Task Modifier and Type Method Description voidContextAssociationManager. setTask(Task task)set a current taskvoidDefaultContextAssociationManager. setTask(Task task)voidScopedAssociation. setTask(Task task) -
Uses of Task in org.camunda.bpm.engine.form
Methods in org.camunda.bpm.engine.form that return Task Modifier and Type Method Description TaskTaskFormData. getTask()The task for which this form is used to complete it. -
Uses of Task in org.camunda.bpm.engine.impl
Methods in org.camunda.bpm.engine.impl that return Task Modifier and Type Method Description TaskTaskServiceImpl. newTask()TaskTaskServiceImpl. newTask(java.lang.String taskId)Methods in org.camunda.bpm.engine.impl that return types with arguments of type Task Modifier and Type Method Description java.util.List<Task>NativeTaskQueryImpl. executeList(CommandContext commandContext, java.util.Map<java.lang.String,java.lang.Object> parameterMap, int firstResult, int maxResults)java.util.List<Task>TaskQueryImpl. executeList(CommandContext commandContext, Page page)java.util.List<Task>TaskServiceImpl. getSubTasks(java.lang.String parentTaskId)Methods in org.camunda.bpm.engine.impl with parameters of type Task Modifier and Type Method Description voidTaskServiceImpl. saveTask(Task task) -
Uses of Task in org.camunda.bpm.engine.impl.calendar
Methods in org.camunda.bpm.engine.impl.calendar with parameters of type Task Modifier and Type Method Description java.util.DateBusinessCalendar. resolveDuedate(java.lang.String duedateDescription, Task task)java.util.DateCycleBusinessCalendar. resolveDuedate(java.lang.String duedateDescription, Task task)java.util.DateDefaultBusinessCalendar. resolveDuedate(java.lang.String duedate, Task task)java.util.DateDueDateBusinessCalendar. resolveDuedate(java.lang.String duedate, Task task)java.util.DateDurationBusinessCalendar. resolveDuedate(java.lang.String duedate, Task task) -
Uses of Task in org.camunda.bpm.engine.impl.cfg.auth
Methods in org.camunda.bpm.engine.impl.cfg.auth with parameters of type Task Modifier and Type Method Description protected AuthorizationEntityDefaultAuthorizationProvider. createOrUpdateAuthorization(Task task, java.lang.String userId, java.lang.String groupId, Resource resource, boolean isHistoric, Permission... permissions)protected AuthorizationEntity[]DefaultAuthorizationProvider. createOrUpdateAuthorizations(Task task, java.lang.String groupId, java.lang.String userId)(1) Fetch existing runtime & history authorizations (2) Update authorizations: (2a) fetched authorization == null -> create a new runtime authorization (with READ, (UPDATE/TASK_WORK) permission, and READ_VARIABLE if enabled) -> create a new history authorization (with READ on HISTORIC_TASK) (2b) fetched authorization != null -> Add READ, (UPDATE/TASK_WORK) permission, and READ_VARIABLE if enabled UPDATE or TASK_WORK permission is configurable in camunda.cfg.xml and by default, UPDATE permission is provided -> Add READ on HISTORIC_TASKprotected AuthorizationEntity[]DefaultAuthorizationProvider. createOrUpdateAuthorizationsByGroupId(Task task, java.lang.String groupId)protected AuthorizationEntity[]DefaultAuthorizationProvider. createOrUpdateAuthorizationsByUserId(Task task, java.lang.String userId)AuthorizationEntity[]DefaultAuthorizationProvider. deleteTaskGroupIdentityLink(Task task, java.lang.String groupId, java.lang.String type)AuthorizationEntity[]ResourceAuthorizationProvider. deleteTaskGroupIdentityLink(Task task, java.lang.String groupId, java.lang.String type)Invoked whenever a group identity link of a task has been deleted.AuthorizationEntity[]DefaultAuthorizationProvider. deleteTaskUserIdentityLink(Task task, java.lang.String userId, java.lang.String type)AuthorizationEntity[]ResourceAuthorizationProvider. deleteTaskUserIdentityLink(Task task, java.lang.String userId, java.lang.String type)Invoked whenever a user identity link of a task has been deleted.protected java.lang.StringDefaultAuthorizationProvider. getRootProcessInstanceId(Task task)AuthorizationEntity[]DefaultAuthorizationProvider. newTask(Task task)AuthorizationEntity[]ResourceAuthorizationProvider. newTask(Task task)Invoked whenever a new task is createdAuthorizationEntity[]DefaultAuthorizationProvider. newTaskAssignee(Task task, java.lang.String oldAssignee, java.lang.String newAssignee)AuthorizationEntity[]ResourceAuthorizationProvider. newTaskAssignee(Task task, java.lang.String oldAssignee, java.lang.String newAssignee)Invoked whenever an user has been assigned to a task.AuthorizationEntity[]DefaultAuthorizationProvider. newTaskGroupIdentityLink(Task task, java.lang.String groupId, java.lang.String type)AuthorizationEntity[]ResourceAuthorizationProvider. newTaskGroupIdentityLink(Task task, java.lang.String groupId, java.lang.String type)Invoked whenever a new group identity link has been added to a task.AuthorizationEntity[]DefaultAuthorizationProvider. newTaskOwner(Task task, java.lang.String oldOwner, java.lang.String newOwner)AuthorizationEntity[]ResourceAuthorizationProvider. newTaskOwner(Task task, java.lang.String oldOwner, java.lang.String newOwner)Invoked whenever an user has been set as the owner of a task.AuthorizationEntity[]DefaultAuthorizationProvider. newTaskUserIdentityLink(Task task, java.lang.String userId, java.lang.String type)AuthorizationEntity[]ResourceAuthorizationProvider. newTaskUserIdentityLink(Task task, java.lang.String userId, java.lang.String type)Invoked whenever a new user identity link has been added to a task.protected voidDefaultAuthorizationProvider. provideRemovalTime(AuthorizationEntity authorization, Task task) -
Uses of Task in org.camunda.bpm.engine.impl.cmd
Methods in org.camunda.bpm.engine.impl.cmd that return Task Modifier and Type Method Description TaskCreateTaskCmd. execute(CommandContext commandContext)Methods in org.camunda.bpm.engine.impl.cmd that return types with arguments of type Task Modifier and Type Method Description java.util.List<Task>GetSubTasksCmd. execute(CommandContext commandContext)Constructors in org.camunda.bpm.engine.impl.cmd with parameters of type Task Constructor Description SaveTaskCmd(Task task) -
Uses of Task in org.camunda.bpm.engine.impl.cmmn.execution
Methods in org.camunda.bpm.engine.impl.cmmn.execution that return Task Modifier and Type Method Description TaskCmmnActivityExecution. createTask(TaskDecorator taskDecorator)Creates a new task.Methods in org.camunda.bpm.engine.impl.cmmn.execution with parameters of type Task Modifier and Type Method Description voidCmmnExecution. setTask(Task task) -
Uses of Task in org.camunda.bpm.engine.impl.form
Fields in org.camunda.bpm.engine.impl.form declared as Task Modifier and Type Field Description protected TaskTaskFormDataImpl. taskMethods in org.camunda.bpm.engine.impl.form that return Task Modifier and Type Method Description TaskTaskFormDataImpl. getTask()Methods in org.camunda.bpm.engine.impl.form with parameters of type Task Modifier and Type Method Description voidTaskFormDataImpl. setTask(Task task) -
Uses of Task in org.camunda.bpm.engine.impl.persistence.entity
Classes in org.camunda.bpm.engine.impl.persistence.entity that implement Task Modifier and Type Class Description classTaskEntityMethods in org.camunda.bpm.engine.impl.persistence.entity that return types with arguments of type Task Modifier and Type Method Description java.util.List<Task>TaskManager. findTasksByNativeQuery(java.util.Map<java.lang.String,java.lang.Object> parameterMap, int firstResult, int maxResults)java.util.List<Task>TaskManager. findTasksByParentTaskId(java.lang.String parentTaskId)java.util.List<Task>TaskManager. findTasksByQueryCriteria(TaskQueryImpl taskQuery)java.util.List<Task>TaskManager. findTasksByQueryCriteria(TaskQueryImpl taskQuery, Page page)Deprecated. -
Uses of Task in org.camunda.bpm.engine.rest.dto.task
Methods in org.camunda.bpm.engine.rest.dto.task with parameters of type Task Modifier and Type Method Description static TaskDtoTaskDto. fromEntity(Task task)voidTaskDto. updateTask(Task task) -
Uses of Task in org.camunda.bpm.engine.rest.hal.task
Methods in org.camunda.bpm.engine.rest.hal.task with parameters of type Task Modifier and Type Method Description static HalTaskHalTask. fromTask(Task task)static HalTaskHalTask. generate(Task task, ProcessEngine engine)Method parameters in org.camunda.bpm.engine.rest.hal.task with type arguments of type Task Modifier and Type Method Description static HalTaskListHalTaskList. fromTaskList(java.util.List<Task> tasks, long count)static HalTaskListHalTaskList. generate(java.util.List<Task> tasks, long count, ProcessEngine engine) -
Uses of Task in org.camunda.bpm.engine.rest.impl
Methods in org.camunda.bpm.engine.rest.impl that return types with arguments of type Task Modifier and Type Method Description protected java.util.List<Task>TaskRestServiceImpl. executeTaskQuery(java.lang.Integer firstResult, java.lang.Integer maxResults, TaskQuery query) -
Uses of Task in org.camunda.bpm.engine.rest.sub.runtime.impl
Methods in org.camunda.bpm.engine.rest.sub.runtime.impl with parameters of type Task Modifier and Type Method Description protected HalTaskFilterResourceImpl. convertToHalTask(Task task)Method parameters in org.camunda.bpm.engine.rest.sub.runtime.impl with type arguments of type Task Modifier and Type Method Description protected HalTaskListFilterResourceImpl. convertToHalTaskList(java.util.List<Task> tasks, long count) -
Uses of Task in org.camunda.bpm.engine.rest.sub.task.impl
Methods in org.camunda.bpm.engine.rest.sub.task.impl that return Task Modifier and Type Method Description protected TaskTaskResourceImpl. getTaskById(java.lang.String id) -
Uses of Task in org.camunda.bpm.engine.test.assertions.bpmn
Methods in org.camunda.bpm.engine.test.assertions.bpmn that return Task Modifier and Type Method Description static TaskBpmnAwareTests. claim(Task task, java.lang.String assigneeUserId)Helper method to easily claim a task for a specific assignee.protected TaskTaskAssert. getCurrent()static TaskBpmnAwareTests. task()Helper method to easily access the only task currently available in the context of the last asserted process instance.static TaskBpmnAwareTests. task(java.lang.String taskDefinitionKey)Helper method to easily access the only task with the given taskDefinitionKey currently available in the context of the last asserted process instance.static TaskBpmnAwareTests. task(java.lang.String taskDefinitionKey, ProcessInstance processInstance)Helper method to easily access the only task with the given taskDefinitionKey currently available in the context of the given process instance.static TaskBpmnAwareTests. task(ProcessInstance processInstance)Helper method to easily access the only task currently available in the context of the given process instance.static TaskBpmnAwareTests. task(TaskQuery taskQuery)Helper method to easily access the only task compliant to a given taskQuery and currently available in the context of the last asserted process instance.static TaskBpmnAwareTests. task(TaskQuery taskQuery, ProcessInstance processInstance)Helper method to easily access the only task compliant to a given taskQuery and currently available in the context of the given process instance.static TaskBpmnAwareTests. unclaim(Task task)Helper method to easily unclaim a task.Methods in org.camunda.bpm.engine.test.assertions.bpmn with parameters of type Task Modifier and Type Method Description static TaskAssertBpmnAwareTests. assertThat(Task actual)Assert that...protected static TaskAssertTaskAssert. assertThat(ProcessEngine engine, Task actual)static TaskBpmnAwareTests. claim(Task task, java.lang.String assigneeUserId)Helper method to easily claim a task for a specific assignee.static voidBpmnAwareTests. complete(Task task)Helper method to easily complete a task.static voidBpmnAwareTests. complete(Task task, java.util.Map<java.lang.String,java.lang.Object> variables)Helper method to easily complete a task and pass some process variables.protected java.lang.StringTaskAssert. toString(Task task)static TaskBpmnAwareTests. unclaim(Task task)Helper method to easily unclaim a task.Constructors in org.camunda.bpm.engine.test.assertions.bpmn with parameters of type Task Constructor Description TaskAssert(ProcessEngine engine, Task actual)
-