Uses of Interface
org.camunda.bpm.engine.task.Task
Packages that use Task
Package
Description
Public API of the Camunda Platform engine.
Typical usage of the API starts by the creation of a
Through the services obtained from such a
Typical usage of the API starts by the creation of a
ProcessEngineConfiguration
(typically based on a configuration file), from which a ProcessEngine
can be obtained.Through the services obtained from such a
ProcessEngine
, BPM and workflow operation
can be executed:RepositoryService
:
Manages Deployment
sRuntimeService
:
For starting and searching ProcessInstance
sTaskService
:
Exposes operations to manage human (standalone) Task
s,
such as claiming, completing and assigning tasksIdentityService
:
Used for managing User
s,
Group
s and the relations between themManagementService
:
Exposes engine admin and maintenance operations,
which have no relation to the runtime execution of business processesHistoryService
:
Exposes information about ongoing and past process instances.FormService
:
Access to form data and rendered forms for starting new process instances and completing tasks.Classes related to the
FormService
.API implementation classes, which shouldn't directly be used by end-users.
-
Uses of Task in org.camunda.bpm.engine
Methods in org.camunda.bpm.engine that return TaskModifier and TypeMethodDescriptionTaskService.newTask()
Creates a new task that is not related to any process instance.create a new task with a user defined task idMethods in org.camunda.bpm.engine that return types with arguments of type TaskModifier and TypeMethodDescriptionTaskService.getSubTasks
(String parentTaskId) The list of subtasks for this parent taskMethods in org.camunda.bpm.engine with parameters of type Task -
Uses of Task in org.camunda.bpm.engine.cdi
Methods in org.camunda.bpm.engine.cdi that return TaskModifier and TypeMethodDescriptionBusinessProcess.getTask()
Returns the currently associatedTask
or 'null'CurrentProcessInstance.getTask()
Returns the currently associatedTask
or 'null'Associates the task with the provided taskId with the current conversation.Methods in org.camunda.bpm.engine.cdi with parameters of type Task -
Uses of Task in org.camunda.bpm.engine.cdi.impl.context
Fields in org.camunda.bpm.engine.cdi.impl.context declared as TaskMethods in org.camunda.bpm.engine.cdi.impl.context that return TaskModifier and TypeMethodDescriptionContextAssociationManager.getTask()
get the current taskDefaultContextAssociationManager.getTask()
ScopedAssociation.getTask()
Methods in org.camunda.bpm.engine.cdi.impl.context with parameters of type Task -
Uses of Task in org.camunda.bpm.engine.form
Methods in org.camunda.bpm.engine.form that return Task -
Uses of Task in org.camunda.bpm.engine.impl
Methods in org.camunda.bpm.engine.impl that return TaskMethods in org.camunda.bpm.engine.impl that return types with arguments of type TaskModifier and TypeMethodDescriptionNativeTaskQueryImpl.executeList
(CommandContext commandContext, Map<String, Object> parameterMap, int firstResult, int maxResults) TaskQueryImpl.executeList
(CommandContext commandContext, Page page) TaskServiceImpl.getSubTasks
(String parentTaskId) Methods in org.camunda.bpm.engine.impl with parameters of type Task -
Uses of Task in org.camunda.bpm.engine.impl.calendar
Methods in org.camunda.bpm.engine.impl.calendar with parameters of type TaskModifier and TypeMethodDescriptionBusinessCalendar.resolveDuedate
(String duedateDescription, Task task) CycleBusinessCalendar.resolveDuedate
(String duedateDescription, Task task) DefaultBusinessCalendar.resolveDuedate
(String duedate, Task task) DueDateBusinessCalendar.resolveDuedate
(String duedate, Task task) DurationBusinessCalendar.resolveDuedate
(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 TaskModifier and TypeMethodDescriptionprotected AuthorizationEntity
DefaultAuthorizationProvider.createOrUpdateAuthorization
(Task task, String userId, String groupId, Resource resource, boolean isHistoric, Permission... permissions) protected AuthorizationEntity[]
DefaultAuthorizationProvider.createOrUpdateAuthorizations
(Task task, String groupId, 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, String groupId) protected AuthorizationEntity[]
DefaultAuthorizationProvider.createOrUpdateAuthorizationsByUserId
(Task task, String userId) DefaultAuthorizationProvider.deleteTaskGroupIdentityLink
(Task task, String groupId, String type) ResourceAuthorizationProvider.deleteTaskGroupIdentityLink
(Task task, String groupId, String type) Invoked whenever a group identity link of a task has been deleted.DefaultAuthorizationProvider.deleteTaskUserIdentityLink
(Task task, String userId, String type) ResourceAuthorizationProvider.deleteTaskUserIdentityLink
(Task task, String userId, String type) Invoked whenever a user identity link of a task has been deleted.protected String
DefaultAuthorizationProvider.getRootProcessInstanceId
(Task task) Invoked whenever a new task is createdDefaultAuthorizationProvider.newTaskAssignee
(Task task, String oldAssignee, String newAssignee) ResourceAuthorizationProvider.newTaskAssignee
(Task task, String oldAssignee, String newAssignee) Invoked whenever an user has been assigned to a task.DefaultAuthorizationProvider.newTaskGroupIdentityLink
(Task task, String groupId, String type) ResourceAuthorizationProvider.newTaskGroupIdentityLink
(Task task, String groupId, String type) Invoked whenever a new group identity link has been added to a task.DefaultAuthorizationProvider.newTaskOwner
(Task task, String oldOwner, String newOwner) ResourceAuthorizationProvider.newTaskOwner
(Task task, String oldOwner, String newOwner) Invoked whenever an user has been set as the owner of a task.DefaultAuthorizationProvider.newTaskUserIdentityLink
(Task task, String userId, String type) ResourceAuthorizationProvider.newTaskUserIdentityLink
(Task task, String userId, String type) Invoked whenever a new user identity link has been added to a task.protected void
DefaultAuthorizationProvider.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 TaskMethods in org.camunda.bpm.engine.impl.cmd that return types with arguments of type TaskConstructors in org.camunda.bpm.engine.impl.cmd with parameters of type Task -
Uses of Task in org.camunda.bpm.engine.impl.cmmn.execution
Methods in org.camunda.bpm.engine.impl.cmmn.execution that return TaskModifier and TypeMethodDescriptionCmmnActivityExecution.createTask
(TaskDecorator taskDecorator) Creates a new task.Methods in org.camunda.bpm.engine.impl.cmmn.execution with parameters of type Task -
Uses of Task in org.camunda.bpm.engine.impl.form
Fields in org.camunda.bpm.engine.impl.form declared as TaskMethods in org.camunda.bpm.engine.impl.form that return TaskMethods in org.camunda.bpm.engine.impl.form with parameters of type Task -
Uses of Task in org.camunda.bpm.engine.impl.persistence.entity
Classes in org.camunda.bpm.engine.impl.persistence.entity that implement TaskMethods in org.camunda.bpm.engine.impl.persistence.entity that return types with arguments of type TaskModifier and TypeMethodDescriptionTaskManager.findTasksByNativeQuery
(Map<String, Object> parameterMap, int firstResult, int maxResults) TaskManager.findTasksByParentTaskId
(String parentTaskId) TaskManager.findTasksByQueryCriteria
(TaskQueryImpl taskQuery) 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 TaskModifier and TypeMethodDescriptionstatic TaskDto
TaskDto.fromEntity
(Task task) static TaskDto
TaskWithAttachmentAndCommentDto.fromEntity
(Task task) void
TaskDto.updateTask
(Task task) Constructors in org.camunda.bpm.engine.rest.dto.task with parameters of type 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 TaskModifier and TypeMethodDescriptionstatic HalTask
static HalTask
HalTask.generate
(Task task, ProcessEngine engine) Method parameters in org.camunda.bpm.engine.rest.hal.task with type arguments of type TaskModifier and TypeMethodDescriptionstatic HalTaskList
HalTaskList.fromTaskList
(List<Task> tasks, long count) static HalTaskList
HalTaskList.generate
(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 -
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 TaskModifier and TypeMethodDescriptionprotected HalTask
FilterResourceImpl.convertToHalTask
(Task task) Method parameters in org.camunda.bpm.engine.rest.sub.runtime.impl with type arguments of type TaskModifier and TypeMethodDescriptionprotected HalTaskList
FilterResourceImpl.convertToHalTaskList
(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 TaskModifier and TypeMethodDescriptionprotected Task
TaskResourceImpl.getTaskById
(String id, boolean withCommentAttachmentInfo) -
Uses of Task in org.camunda.bpm.engine.test.assertions.bpmn
Methods in org.camunda.bpm.engine.test.assertions.bpmn that return TaskModifier and TypeMethodDescriptionstatic Task
Helper method to easily claim a task for a specific assignee.protected Task
TaskAssert.getCurrent()
static Task
BpmnAwareTests.task()
Helper method to easily access the only task currently available in the context of the last asserted process instance.static Task
Helper method to easily access the only task with the given taskDefinitionKey currently available in the context of the last asserted process instance.static Task
BpmnAwareTests.task
(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 Task
BpmnAwareTests.task
(ProcessInstance processInstance) Helper method to easily access the only task currently available in the context of the given process instance.static Task
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 Task
BpmnAwareTests.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 Task
Helper method to easily unclaim a task.Methods in org.camunda.bpm.engine.test.assertions.bpmn with parameters of type TaskModifier and TypeMethodDescriptionstatic TaskAssert
BpmnAwareTests.assertThat
(Task actual) Assert that...protected static TaskAssert
TaskAssert.assertThat
(ProcessEngine engine, Task actual) static Task
Helper method to easily claim a task for a specific assignee.static void
Helper method to easily complete a task.static void
Helper method to easily complete a task and pass some process variables.protected String
static Task
Helper method to easily unclaim a task.Constructors in org.camunda.bpm.engine.test.assertions.bpmn with parameters of type Task