Package | Description |
---|---|
org.camunda.bpm.engine |
Public API of the Activiti engine.
Typical usage of the API starts by the creation of a org.activiti.engine.ProcessEngineConfiguration
(typically based on a configuration file), from which a org.activiti.engine.ProcessEngine can be obtained.Through the services obtained from such a org.activiti.engine.ProcessEngine , BPM and workflow operation
can be executed:org.activiti.engine.RepositoryService : Manages org.activiti.engine.repository.Deployment s org.activiti.engine.RuntimeService : For starting and searching org.activiti.engine.runtime.ProcessInstance s org.activiti.engine.TaskService : Exposes operations to manage human (standalone) org.activiti.engine.task.Task s,
such as claiming, completing and assigning tasksorg.activiti.engine.IdentityService : Used for managing org.activiti.engine.identity.User s,
org.activiti.engine.identity.Group s and the relations between themorg.activiti.engine.ManagementService : Exposes engine admin and maintenance operations,
which have no relation to the runtime exection of business processesorg.activiti.engine.HistoryService : Exposes information about ongoing and past process instances.org.activiti.engine.FormService : Access to form data and rendered forms for starting new process instances and completing tasks. |
org.camunda.bpm.engine.impl |
API implementation classes, which shouldn't directly be used by end-users.
|
org.camunda.bpm.engine.rest.dto.task | |
org.camunda.bpm.engine.task |
Classes related to the
org.activiti.engine.TaskService . |
Modifier and Type | Method and Description |
---|---|
TaskQuery |
TaskService.createTaskQuery()
Returns a new
TaskQuery that can be used to dynamically query tasks. |
Modifier and Type | Class and Description |
---|---|
class |
TaskQueryImpl |
Modifier and Type | Method and Description |
---|---|
protected TaskQuery |
TaskQueryDto.createNewQuery(ProcessEngine engine) |
Modifier and Type | Method and Description |
---|---|
protected void |
TaskQueryDto.applyFilters(TaskQuery query) |
protected void |
TaskQueryDto.applySortingOptions(TaskQuery query) |
Modifier and Type | Method and Description |
---|---|
TaskQuery |
TaskQuery.active()
Only selects tasks which are active (ie.
|
TaskQuery |
TaskQuery.activityInstanceIdIn(String... activityInstanceIds)
Only select task which have one of the activity instance ids.
|
TaskQuery |
TaskQuery.dueAfter(Date dueDate)
Only select tasks which have a due date after the given date.
|
TaskQuery |
TaskQuery.dueBefore(Date dueDate)
Only select tasks which have a due date before the given date.
|
TaskQuery |
TaskQuery.dueDate(Date dueDate)
Only select tasks with the given due date.
|
TaskQuery |
TaskQuery.excludeSubtasks()
Only select tasks that have no parent (i.e.
|
TaskQuery |
TaskQuery.executionId(String executionId)
Only select tasks for the given execution.
|
TaskQuery |
TaskQuery.orderByDueDate()
Order by due date (needs to be followed by
Query.asc() or Query.desc() ). |
TaskQuery |
TaskQuery.orderByExecutionId()
Order by execution id (needs to be followed by
Query.asc() or Query.desc() ). |
TaskQuery |
TaskQuery.orderByProcessInstanceId()
Order by process instance id (needs to be followed by
Query.asc() or Query.desc() ). |
TaskQuery |
TaskQuery.orderByTaskAssignee()
Order by assignee (needs to be followed by
Query.asc() or Query.desc() ). |
TaskQuery |
TaskQuery.orderByTaskCreateTime()
Order by the time on which the tasks were created (needs to be followed by
Query.asc() or Query.desc() ). |
TaskQuery |
TaskQuery.orderByTaskDescription()
Order by description (needs to be followed by
Query.asc() or Query.desc() ). |
TaskQuery |
TaskQuery.orderByTaskId()
Order by task id (needs to be followed by
Query.asc() or Query.desc() ). |
TaskQuery |
TaskQuery.orderByTaskName()
Order by task name (needs to be followed by
Query.asc() or Query.desc() ). |
TaskQuery |
TaskQuery.orderByTaskPriority()
Order by priority (needs to be followed by
Query.asc() or Query.desc() ). |
TaskQuery |
TaskQuery.processDefinitionId(String processDefinitionId)
Only select tasks which are part of a process instance which has the given
process definition id.
|
TaskQuery |
TaskQuery.processDefinitionKey(String processDefinitionKey)
Only select tasks which are part of a process instance which has the given
process definition key.
|
TaskQuery |
TaskQuery.processDefinitionName(String processDefinitionName)
Only select tasks which are part of a process instance which has the given
process definition name.
|
TaskQuery |
TaskQuery.processInstanceBusinessKey(String processInstanceBusinessKey)
Only select tasks foe the given business key
|
TaskQuery |
TaskQuery.processInstanceId(String processInstanceId)
Only select tasks for the given process instance id.
|
TaskQuery |
TaskQuery.processVariableValueEquals(String variableName,
Object variableValue)
Only select tasks which have are part of a process that have a variable
with the given name set to the given value.
|
TaskQuery |
TaskQuery.processVariableValueNotEquals(String variableName,
Object variableValue)
Only select tasks which have a variable with the given name, but
with a different value than the passed value.
|
TaskQuery |
TaskQuery.suspended()
Only selects tasks which are suspended, because its process instance was suspended.
|
TaskQuery |
TaskQuery.taskAssignee(String assignee)
Only select tasks which are assigned to the given user.
|
TaskQuery |
TaskQuery.taskCandidateGroup(String candidateGroup)
Only select tasks for which users in the given group are candidates.
|
TaskQuery |
TaskQuery.taskCandidateGroupIn(List<String> candidateGroups)
Only select tasks for which the 'candidateGroup' is one of the given groups.
|
TaskQuery |
TaskQuery.taskCandidateUser(String candidateUser)
Only select tasks for which the given user is a candidate.
|
TaskQuery |
TaskQuery.taskCreatedAfter(Date after)
Only select tasks that are created after the given date.
|
TaskQuery |
TaskQuery.taskCreatedBefore(Date before)
Only select tasks that are created before the given date.
|
TaskQuery |
TaskQuery.taskCreatedOn(Date createTime)
Only select tasks that are created on the given date.
|
TaskQuery |
TaskQuery.taskDefinitionKey(String key)
Only select tasks with the given taskDefinitionKey.
|
TaskQuery |
TaskQuery.taskDefinitionKeyLike(String keyLike)
Only select tasks with a taskDefinitionKey that match the given parameter.
|
TaskQuery |
TaskQuery.taskDelegationState(DelegationState delegationState)
Only select tasks with the given
DelegationState . |
TaskQuery |
TaskQuery.taskDescription(String description)
Only select tasks with the given description.
|
TaskQuery |
TaskQuery.taskDescriptionLike(String descriptionLike)
Only select tasks with a description matching the parameter .
|
TaskQuery |
TaskQuery.taskId(String taskId)
Only select tasks with the given task id (in practice, there will be
maximum one of this kind)
|
TaskQuery |
TaskQuery.taskInvolvedUser(String involvedUser)
Only select tasks for which there exist an
IdentityLink with the given user |
TaskQuery |
TaskQuery.taskMaxPriority(Integer maxPriority)
Only select tasks with the given priority or lower.
|
TaskQuery |
TaskQuery.taskMinPriority(Integer minPriority)
Only select tasks with the given priority or higher.
|
TaskQuery |
TaskQuery.taskName(String name)
Only select tasks with the given name
|
TaskQuery |
TaskQuery.taskNameLike(String nameLike)
Only select tasks with a name matching the parameter.
|
TaskQuery |
TaskQuery.taskOwner(String owner)
Only select tasks for which the given user is the owner.
|
TaskQuery |
TaskQuery.taskPriority(Integer priority)
Only select tasks with the given priority.
|
TaskQuery |
TaskQuery.taskUnassigned()
Only select tasks which don't have an assignee.
|
TaskQuery |
TaskQuery.taskUnnassigned()
Deprecated.
|
TaskQuery |
TaskQuery.taskVariableValueEquals(String variableName,
Object variableValue)
Only select tasks which have a local task variable with the given name
set to the given value.
|
TaskQuery |
TaskQuery.taskVariableValueNotEquals(String variableName,
Object variableValue)
Only select tasks which have a local task variable with the given name, but
with a different value than the passed value.
|
Copyright © 2015. All rights reserved.