Package | Description |
---|---|
org.camunda.bpm.engine |
Public API of the Camunda Platform engine.
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. |
org.camunda.bpm.engine.cdi | |
org.camunda.bpm.engine.cdi.impl.context | |
org.camunda.bpm.engine.form |
Classes related to the
FormService . |
org.camunda.bpm.engine.impl |
API implementation classes, which shouldn't directly be used by end-users.
|
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 |
Modifier and Type | Method and 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 id
|
Modifier and Type | Method and Description |
---|---|
List<Task> |
TaskService.getSubTasks(String parentTaskId)
The list of subtasks for this parent task
|
Modifier and Type | Method and Description |
---|---|
void |
TaskService.saveTask(Task task)
Saves the given task to the persistent data store.
|
Modifier and Type | Method and Description |
---|---|
Task |
CurrentProcessInstance.getTask()
Returns the currently associated
Task or 'null' |
Task |
BusinessProcess.getTask()
Returns the currently associated
Task 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) |
Modifier and Type | Method and Description |
---|---|
void |
BusinessProcess.setTask(Task task) |
Modifier and Type | Field and Description |
---|---|
protected Task |
DefaultContextAssociationManager.ScopedAssociation.task |
Modifier and Type | Method and Description |
---|---|
Task |
ContextAssociationManager.getTask()
get the current task
|
Task |
DefaultContextAssociationManager.getTask() |
Task |
DefaultContextAssociationManager.ScopedAssociation.getTask() |
Modifier and Type | Method and Description |
---|---|
void |
ContextAssociationManager.setTask(Task task)
set a current task
|
void |
DefaultContextAssociationManager.setTask(Task task) |
void |
DefaultContextAssociationManager.ScopedAssociation.setTask(Task task) |
Modifier and Type | Method and Description |
---|---|
Task |
TaskFormData.getTask()
The task for which this form is used to complete it.
|
Modifier and Type | Method and Description |
---|---|
Task |
TaskServiceImpl.newTask() |
Task |
TaskServiceImpl.newTask(String taskId) |
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
void |
TaskServiceImpl.saveTask(Task task) |
Modifier and Type | Method and 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_TASK
|
protected AuthorizationEntity[] |
DefaultAuthorizationProvider.createOrUpdateAuthorizationsByGroupId(Task task,
String groupId) |
protected AuthorizationEntity[] |
DefaultAuthorizationProvider.createOrUpdateAuthorizationsByUserId(Task task,
String userId) |
AuthorizationEntity[] |
ResourceAuthorizationProvider.deleteTaskGroupIdentityLink(Task task,
String groupId,
String type)
Invoked whenever a group identity link of a task has been deleted.
|
AuthorizationEntity[] |
DefaultAuthorizationProvider.deleteTaskGroupIdentityLink(Task task,
String groupId,
String type) |
AuthorizationEntity[] |
ResourceAuthorizationProvider.deleteTaskUserIdentityLink(Task task,
String userId,
String type)
Invoked whenever a user identity link of a task has been deleted.
|
AuthorizationEntity[] |
DefaultAuthorizationProvider.deleteTaskUserIdentityLink(Task task,
String userId,
String type) |
protected String |
DefaultAuthorizationProvider.getRootProcessInstanceId(Task task) |
AuthorizationEntity[] |
ResourceAuthorizationProvider.newTask(Task task)
Invoked whenever a new task is created
|
AuthorizationEntity[] |
DefaultAuthorizationProvider.newTask(Task task) |
AuthorizationEntity[] |
ResourceAuthorizationProvider.newTaskAssignee(Task task,
String oldAssignee,
String newAssignee)
Invoked whenever an user has been assigned to a task.
|
AuthorizationEntity[] |
DefaultAuthorizationProvider.newTaskAssignee(Task task,
String oldAssignee,
String newAssignee) |
AuthorizationEntity[] |
ResourceAuthorizationProvider.newTaskGroupIdentityLink(Task task,
String groupId,
String type)
Invoked whenever a new group identity link has been added to a task.
|
AuthorizationEntity[] |
DefaultAuthorizationProvider.newTaskGroupIdentityLink(Task task,
String groupId,
String type) |
AuthorizationEntity[] |
ResourceAuthorizationProvider.newTaskOwner(Task task,
String oldOwner,
String newOwner)
Invoked whenever an user has been set as the owner of a task.
|
AuthorizationEntity[] |
DefaultAuthorizationProvider.newTaskOwner(Task task,
String oldOwner,
String newOwner) |
AuthorizationEntity[] |
ResourceAuthorizationProvider.newTaskUserIdentityLink(Task task,
String userId,
String type)
Invoked whenever a new user identity link has been added to a task.
|
AuthorizationEntity[] |
DefaultAuthorizationProvider.newTaskUserIdentityLink(Task task,
String userId,
String type) |
protected void |
DefaultAuthorizationProvider.provideRemovalTime(AuthorizationEntity authorization,
Task task) |
Modifier and Type | Method and Description |
---|---|
Task |
CreateTaskCmd.execute(CommandContext commandContext) |
Modifier and Type | Method and Description |
---|---|
List<Task> |
GetSubTasksCmd.execute(CommandContext commandContext) |
Constructor and Description |
---|
SaveTaskCmd(Task task) |
Modifier and Type | Method and Description |
---|---|
Task |
CmmnActivityExecution.createTask(TaskDecorator taskDecorator)
Creates a new task.
|
Modifier and Type | Method and Description |
---|---|
void |
CmmnExecution.setTask(Task task) |
Modifier and Type | Field and Description |
---|---|
protected Task |
TaskFormDataImpl.task |
Modifier and Type | Method and Description |
---|---|
Task |
TaskFormDataImpl.getTask() |
Modifier and Type | Method and Description |
---|---|
void |
TaskFormDataImpl.setTask(Task task) |
Modifier and Type | Class and Description |
---|---|
class |
TaskEntity |
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
static TaskDto |
TaskDto.fromEntity(Task task) |
void |
TaskDto.updateTask(Task task) |
Modifier and Type | Method and Description |
---|---|
static HalTask |
HalTask.fromTask(Task task) |
static HalTask |
HalTask.generate(Task task,
ProcessEngine engine) |
Modifier and Type | Method and Description |
---|---|
static HalTaskList |
HalTaskList.fromTaskList(List<Task> tasks,
long count) |
static HalTaskList |
HalTaskList.generate(List<Task> tasks,
long count,
ProcessEngine engine) |
Modifier and Type | Method and Description |
---|---|
protected List<Task> |
TaskRestServiceImpl.executePaginatedQuery(TaskQuery query,
Integer firstResult,
Integer maxResults) |
protected List<Task> |
TaskRestServiceImpl.executeTaskQuery(Integer firstResult,
Integer maxResults,
TaskQuery query) |
Modifier and Type | Method and Description |
---|---|
protected HalTask |
FilterResourceImpl.convertToHalTask(Task task) |
Modifier and Type | Method and Description |
---|---|
protected HalTaskList |
FilterResourceImpl.convertToHalTaskList(List<Task> tasks,
long count) |
Modifier and Type | Method and Description |
---|---|
protected Task |
TaskResourceImpl.getTaskById(String id)
Returns the task with the given id
|
Copyright © 2022. All rights reserved.