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 aProcessEngine
can be obtained.
Through the services obtained from such aProcessEngine
, BPM and workflow operation can be executed:
RepositoryService
: ManagesDeployment
s
RuntimeService
: For starting and searchingProcessInstance
s
TaskService
: Exposes operations to manage human (standalone)Task
s, such as claiming, completing and assigning tasks
IdentityService
: Used for managingUser
s,Group
s 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 -
-
Uses of Task in org.camunda.bpm.engine
Methods in org.camunda.bpm.engine that return Task Modifier and Type Method Description Task
TaskService. newTask()
Creates a new task that is not related to any process instance.Task
TaskService. newTask(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 List<Task>
TaskService. getSubTasks(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 void
TaskService. 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 Task
BusinessProcess. getTask()
Returns the currently associatedTask
or 'null'Task
CurrentProcessInstance. getTask()
Returns the currently associatedTask
or 'null'Task
BusinessProcess. startTask(String taskId)
Associates the task with the provided taskId with the current conversation.Task
BusinessProcess. startTask(String taskId, boolean beginConversation)
Methods in org.camunda.bpm.engine.cdi with parameters of type Task Modifier and Type Method Description void
BusinessProcess. 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 Task
ScopedAssociation. task
Methods in org.camunda.bpm.engine.cdi.impl.context that return Task Modifier and Type Method Description Task
ContextAssociationManager. getTask()
get the current taskTask
DefaultContextAssociationManager. getTask()
Task
ScopedAssociation. getTask()
Methods in org.camunda.bpm.engine.cdi.impl.context with parameters of type Task Modifier and Type Method Description void
ContextAssociationManager. setTask(Task task)
set a current taskvoid
DefaultContextAssociationManager. setTask(Task task)
void
ScopedAssociation. 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 Task
TaskFormData. 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 Task
TaskServiceImpl. newTask()
Task
TaskServiceImpl. newTask(String taskId)
Methods in org.camunda.bpm.engine.impl that return types with arguments of type Task Modifier and Type Method Description List<Task>
NativeTaskQueryImpl. executeList(CommandContext commandContext, Map<String,Object> parameterMap, int firstResult, int maxResults)
List<Task>
TaskQueryImpl. executeList(CommandContext commandContext, Page page)
List<Task>
TaskServiceImpl. getSubTasks(String parentTaskId)
Methods in org.camunda.bpm.engine.impl with parameters of type Task Modifier and Type Method Description void
TaskServiceImpl. 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 Date
BusinessCalendar. resolveDuedate(String duedateDescription, Task task)
Date
CycleBusinessCalendar. resolveDuedate(String duedateDescription, Task task)
Date
DefaultBusinessCalendar. resolveDuedate(String duedate, Task task)
Date
DueDateBusinessCalendar. resolveDuedate(String duedate, Task task)
Date
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 Task Modifier and Type Method Description protected 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)
AuthorizationEntity[]
DefaultAuthorizationProvider. deleteTaskGroupIdentityLink(Task task, String groupId, String type)
AuthorizationEntity[]
ResourceAuthorizationProvider. deleteTaskGroupIdentityLink(Task task, String groupId, String type)
Invoked whenever a group identity link of a task has been deleted.AuthorizationEntity[]
DefaultAuthorizationProvider. deleteTaskUserIdentityLink(Task task, String userId, String type)
AuthorizationEntity[]
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)
AuthorizationEntity[]
DefaultAuthorizationProvider. newTask(Task task)
AuthorizationEntity[]
ResourceAuthorizationProvider. newTask(Task task)
Invoked whenever a new task is createdAuthorizationEntity[]
DefaultAuthorizationProvider. newTaskAssignee(Task task, String oldAssignee, String newAssignee)
AuthorizationEntity[]
ResourceAuthorizationProvider. newTaskAssignee(Task task, String oldAssignee, String newAssignee)
Invoked whenever an user has been assigned to a task.AuthorizationEntity[]
DefaultAuthorizationProvider. newTaskGroupIdentityLink(Task task, String groupId, String type)
AuthorizationEntity[]
ResourceAuthorizationProvider. newTaskGroupIdentityLink(Task task, String groupId, String type)
Invoked whenever a new group identity link has been added to a task.AuthorizationEntity[]
DefaultAuthorizationProvider. newTaskOwner(Task task, String oldOwner, String newOwner)
AuthorizationEntity[]
ResourceAuthorizationProvider. newTaskOwner(Task task, String oldOwner, String newOwner)
Invoked whenever an user has been set as the owner of a task.AuthorizationEntity[]
DefaultAuthorizationProvider. newTaskUserIdentityLink(Task task, String userId, String type)
AuthorizationEntity[]
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 Task Modifier and Type Method Description Task
CreateTaskCmd. execute(CommandContext commandContext)
Methods in org.camunda.bpm.engine.impl.cmd that return types with arguments of type Task Modifier and Type Method Description 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 Task
CmmnActivityExecution. 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 void
CmmnExecution. 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 Task
TaskFormDataImpl. task
Methods in org.camunda.bpm.engine.impl.form that return Task Modifier and Type Method Description Task
TaskFormDataImpl. getTask()
Methods in org.camunda.bpm.engine.impl.form with parameters of type Task Modifier and Type Method Description void
TaskFormDataImpl. 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 class
TaskEntity
Methods in org.camunda.bpm.engine.impl.persistence.entity that return types with arguments of type Task Modifier and Type Method Description List<Task>
TaskManager. findTasksByNativeQuery(Map<String,Object> parameterMap, int firstResult, int maxResults)
List<Task>
TaskManager. findTasksByParentTaskId(String parentTaskId)
List<Task>
TaskManager. findTasksByQueryCriteria(TaskQueryImpl taskQuery)
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 TaskDto
TaskDto. fromEntity(Task task)
void
TaskDto. 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 HalTask
HalTask. fromTask(Task task)
static HalTask
HalTask. 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 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 Modifier and Type Method Description protected List<Task>
TaskRestServiceImpl. executePaginatedQuery(TaskQuery query, Integer firstResult, Integer maxResults)
protected List<Task>
TaskRestServiceImpl. executeTaskQuery(Integer firstResult, 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 HalTask
FilterResourceImpl. 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 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 Task Modifier and Type Method Description protected Task
TaskResourceImpl. getTaskById(String id)
-