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.cdi | |
org.camunda.bpm.engine.cdi.impl.annotation | |
org.camunda.bpm.engine.impl |
API implementation classes, which shouldn't directly be used by end-users.
|
org.camunda.bpm.engine.impl.cmd | |
org.camunda.bpm.engine.impl.persistence.entity | |
org.camunda.bpm.engine.rest.dto.runtime |
Modifier and Type | Method and Description |
---|---|
ProcessInstance |
RuntimeService.startProcessInstanceById(String processDefinitionId)
Starts a new process instance in the exactly specified version of the process definition with the given id.
|
ProcessInstance |
RuntimeService.startProcessInstanceById(String processDefinitionId,
Map<String,Object> variables)
Starts a new process instance in the exactly specified version of the process definition with the given id.
|
ProcessInstance |
RuntimeService.startProcessInstanceById(String processDefinitionId,
String businessKey)
Starts a new process instance in the exactly specified version of the process definition with the given id.
|
ProcessInstance |
RuntimeService.startProcessInstanceById(String processDefinitionId,
String businessKey,
Map<String,Object> variables)
Starts a new process instance in the exactly specified version of the process definition with the given id.
|
ProcessInstance |
RuntimeService.startProcessInstanceByKey(String processDefinitionKey)
Starts a new process instance in the latest version of the process definition with the given key.
|
ProcessInstance |
RuntimeService.startProcessInstanceByKey(String processDefinitionKey,
Map<String,Object> variables)
Starts a new process instance in the latest version of the process definition with the given key
|
ProcessInstance |
RuntimeService.startProcessInstanceByKey(String processDefinitionKey,
String businessKey)
Starts a new process instance in the latest version of the process
definition with the given key.
|
ProcessInstance |
RuntimeService.startProcessInstanceByKey(String processDefinitionKey,
String businessKey,
Map<String,Object> variables)
Starts a new process instance in the latest version of the process definition with the given key.
|
ProcessInstance |
RuntimeService.startProcessInstanceByMessage(String messageName)
Signals the process engine that a message is received and starts a new
ProcessInstance . |
ProcessInstance |
RuntimeService.startProcessInstanceByMessage(String messageName,
Map<String,Object> processVariables)
Signals the process engine that a message is received and starts a new
ProcessInstance . |
ProcessInstance |
RuntimeService.startProcessInstanceByMessage(String messageName,
String businessKey)
Signals the process engine that a message is received and starts a new
ProcessInstance . |
ProcessInstance |
RuntimeService.startProcessInstanceByMessage(String messageName,
String businessKey,
Map<String,Object> processVariables)
Signals the process engine that a message is received and starts a new
ProcessInstance . |
ProcessInstance |
FormService.submitStartFormData(String processDefinitionId,
Map<String,String> properties)
Start a new process instance with the user data that was entered as properties in a start form.
|
ProcessInstance |
FormService.submitStartFormData(String processDefinitionId,
String businessKey,
Map<String,String> properties)
Start a new process instance with the user data that was entered as properties in a start form.
|
Modifier and Type | Method and Description |
---|---|
ProcessInstance |
CurrentProcessInstance.getProcessInstance()
Returns the
ProcessInstance currently associated or 'null' |
ProcessInstance |
BusinessProcess.getProcessInstance()
Returns the
ProcessInstance currently associated or 'null' |
ProcessInstance |
BusinessProcess.startProcessById(String processDefinitionId) |
ProcessInstance |
BusinessProcess.startProcessById(String processDefinitionId,
Map<String,Object> variables) |
ProcessInstance |
BusinessProcess.startProcessById(String processDefinitionId,
String businessKey) |
ProcessInstance |
BusinessProcess.startProcessById(String processDefinitionId,
String businessKey,
Map<String,Object> variables) |
ProcessInstance |
BusinessProcess.startProcessByKey(String key) |
ProcessInstance |
BusinessProcess.startProcessByKey(String key,
Map<String,Object> variables) |
ProcessInstance |
BusinessProcess.startProcessByKey(String key,
String businessKey) |
ProcessInstance |
BusinessProcess.startProcessByKey(String key,
String businessKey,
Map<String,Object> variables) |
ProcessInstance |
BusinessProcess.startProcessByMessage(String messageName) |
ProcessInstance |
BusinessProcess.startProcessByMessage(String messageName,
Map<String,Object> processVariables) |
ProcessInstance |
BusinessProcess.startProcessByMessage(String messageName,
String businessKey,
Map<String,Object> processVariables) |
Modifier and Type | Method and Description |
---|---|
String |
BusinessKeyProducer.businessKey(ProcessInstance processInstance) |
Modifier and Type | Method and Description |
---|---|
ProcessInstance |
RuntimeServiceImpl.startProcessInstanceById(String processDefinitionId) |
ProcessInstance |
RuntimeServiceImpl.startProcessInstanceById(String processDefinitionId,
Map<String,Object> variables) |
ProcessInstance |
RuntimeServiceImpl.startProcessInstanceById(String processDefinitionId,
String businessKey) |
ProcessInstance |
RuntimeServiceImpl.startProcessInstanceById(String processDefinitionId,
String businessKey,
Map<String,Object> variables) |
ProcessInstance |
RuntimeServiceImpl.startProcessInstanceByKey(String processDefinitionKey) |
ProcessInstance |
RuntimeServiceImpl.startProcessInstanceByKey(String processDefinitionKey,
Map<String,Object> variables) |
ProcessInstance |
RuntimeServiceImpl.startProcessInstanceByKey(String processDefinitionKey,
String businessKey) |
ProcessInstance |
RuntimeServiceImpl.startProcessInstanceByKey(String processDefinitionKey,
String businessKey,
Map<String,Object> variables) |
ProcessInstance |
RuntimeServiceImpl.startProcessInstanceByMessage(String messageName) |
ProcessInstance |
RuntimeServiceImpl.startProcessInstanceByMessage(String messageName,
Map<String,Object> processVariables) |
ProcessInstance |
RuntimeServiceImpl.startProcessInstanceByMessage(String messageName,
String businessKey) |
ProcessInstance |
RuntimeServiceImpl.startProcessInstanceByMessage(String messageName,
String businessKey,
Map<String,Object> processVariables) |
ProcessInstance |
FormServiceImpl.submitStartFormData(String processDefinitionId,
Map<String,String> properties) |
ProcessInstance |
FormServiceImpl.submitStartFormData(String processDefinitionId,
String businessKey,
Map<String,String> properties) |
Modifier and Type | Method and Description |
---|---|
List<ProcessInstance> |
NativeProcessInstanceQueryImpl.executeList(CommandContext commandContext,
Map<String,Object> parameterMap,
int firstResult,
int maxResults) |
List<ProcessInstance> |
ProcessInstanceQueryImpl.executeList(CommandContext commandContext,
Page page) |
Modifier and Type | Method and Description |
---|---|
ProcessInstance |
SubmitStartFormCmd.execute(CommandContext commandContext) |
ProcessInstance |
StartProcessInstanceCmd.execute(CommandContext commandContext) |
ProcessInstance |
StartProcessInstanceByMessageCmd.execute(CommandContext commandContext) |
Modifier and Type | Method and Description |
---|---|
protected AbstractSetProcessInstanceStateCmd |
SuspendProcessDefinitionCmd.getProcessInstanceChangeStateCmd(ProcessInstance processInstance) |
protected AbstractSetProcessInstanceStateCmd |
ActivateProcessDefinitionCmd.getProcessInstanceChangeStateCmd(ProcessInstance processInstance) |
protected abstract AbstractSetProcessInstanceStateCmd |
AbstractSetProcessDefinitionStateCmd.getProcessInstanceChangeStateCmd(ProcessInstance processInstance)
Subclasses should return a
Command implementation that matches the process definition
state change. |
Modifier and Type | Class and Description |
---|---|
class |
ExecutionEntity |
Modifier and Type | Method and Description |
---|---|
List<ProcessInstance> |
ExecutionManager.findProcessInstanceByNativeQuery(Map<String,Object> parameterMap,
int firstResult,
int maxResults) |
List<ProcessInstance> |
ExecutionManager.findProcessInstanceByQueryCriteria(AbstractVariableQueryImpl executionQuery,
Page page) |
Modifier and Type | Method and Description |
---|---|
static ProcessInstanceDto |
ProcessInstanceDto.fromProcessInstance(ProcessInstance instance) |
Copyright © 2015. All rights reserved.