Package | Description |
---|---|
org.activiti.engine |
Public API of the Activiti 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 s RuntimeService : For starting and searching ProcessInstance s TaskService : 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 exection 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.activiti.engine.compatibility | |
org.activiti.engine.impl |
API implementation classes, which shouldn't directly be used by end-users.
|
org.activiti.engine.impl.cmd | |
org.activiti.engine.impl.persistence.entity | |
org.activiti.engine.impl.persistence.entity.data | |
org.activiti.engine.impl.persistence.entity.data.impl | |
org.activiti.engine.impl.runtime | |
org.activiti.engine.impl.util | |
org.activiti.engine.runtime |
Classes related to the
RuntimeService . |
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.startProcessInstanceByKeyAndTenantId(String processDefinitionKey,
Map<String,Object> variables,
String tenantId)
Similar to
RuntimeService.startProcessInstanceByKey(String, Map) , but using a specific tenant identifier. |
ProcessInstance |
RuntimeService.startProcessInstanceByKeyAndTenantId(String processDefinitionKey,
String tenantId)
Similar to
RuntimeService.startProcessInstanceByKey(String) , but using a specific tenant identifier. |
ProcessInstance |
RuntimeService.startProcessInstanceByKeyAndTenantId(String processDefinitionKey,
String businessKey,
Map<String,Object> variables,
String tenantId)
Similar to
RuntimeService.startProcessInstanceByKey(String, String, Map) , but using a specific tenant identifier. |
ProcessInstance |
RuntimeService.startProcessInstanceByKeyAndTenantId(String processDefinitionKey,
String businessKey,
String tenantId)
Similar to
RuntimeService.startProcessInstanceByKey(String, String) , but using a specific tenant identifier. |
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 |
RuntimeService.startProcessInstanceByMessageAndTenantId(String messageName,
Map<String,Object> processVariables,
String tenantId)
Similar to
RuntimeService#startProcessInstanceByMessage(String, Map , but with tenant context. |
ProcessInstance |
RuntimeService.startProcessInstanceByMessageAndTenantId(String messageName,
String tenantId)
Similar to
RuntimeService.startProcessInstanceByMessage(String) , but with tenant context. |
ProcessInstance |
RuntimeService.startProcessInstanceByMessageAndTenantId(String messageName,
String businessKey,
Map<String,Object> processVariables,
String tenantId)
Similar to
RuntimeService#startProcessInstanceByMessage(String, String, Map , but with tenant context. |
ProcessInstance |
RuntimeService.startProcessInstanceByMessageAndTenantId(String messageName,
String businessKey,
String tenantId)
Similar to
RuntimeService.startProcessInstanceByMessage(String, String) , but with tenant context. |
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 |
Activiti5CompatibilityHandler.startProcessInstance(String processDefinitionKey,
String processDefinitionId,
Map<String,Object> variables,
String businessKey,
String tenantId,
String processInstanceName) |
ProcessInstance |
Activiti5CompatibilityHandler.startProcessInstanceByMessage(String messageName,
Map<String,Object> variables,
String businessKey,
String tenantId) |
ProcessInstance |
Activiti5CompatibilityHandler.submitStartFormData(String processDefinitionId,
String businessKey,
Map<String,String> properties) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
Activiti5CompatibilityHandler.getVariableValues(ProcessInstance processInstance) |
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 |
---|---|
protected void |
ProcessInstanceQueryImpl.localize(ProcessInstance processInstance) |
Modifier and Type | Method and Description |
---|---|
protected ProcessInstance |
StartProcessInstanceCmd.createAndStartProcessInstance(ProcessDefinitionEntity processDefinition,
String businessKey,
String processInstanceName,
Map<String,Object> variables) |
ProcessInstance |
StartProcessInstanceCmd.execute(CommandContext commandContext) |
ProcessInstance |
StartProcessInstanceByMessageCmd.execute(CommandContext commandContext) |
protected ProcessInstance |
SubmitStartFormCmd.execute(CommandContext commandContext,
ProcessDefinitionEntity processDefinition) |
Modifier and Type | Method and Description |
---|---|
protected List<ProcessInstance> |
AbstractSetProcessDefinitionStateCmd.fetchProcessInstancesPage(CommandContext commandContext,
ProcessDefinition processDefinition,
int currentPageStartIndex) |
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 | Interface and Description |
---|---|
interface |
ExecutionEntity |
Modifier and Type | Class and Description |
---|---|
class |
ExecutionEntityImpl |
Modifier and Type | Method and Description |
---|---|
List<ProcessInstance> |
ExecutionEntityManagerImpl.findProcessInstanceAndVariablesByQueryCriteria(ProcessInstanceQueryImpl executionQuery) |
List<ProcessInstance> |
ExecutionEntityManager.findProcessInstanceAndVariablesByQueryCriteria(ProcessInstanceQueryImpl executionQuery) |
List<ProcessInstance> |
ExecutionEntityManagerImpl.findProcessInstanceByNativeQuery(Map<String,Object> parameterMap,
int firstResult,
int maxResults) |
List<ProcessInstance> |
ExecutionEntityManager.findProcessInstanceByNativeQuery(Map<String,Object> parameterMap,
int firstResult,
int maxResults) |
List<ProcessInstance> |
ExecutionEntityManagerImpl.findProcessInstanceByQueryCriteria(ProcessInstanceQueryImpl executionQuery) |
List<ProcessInstance> |
ExecutionEntityManager.findProcessInstanceByQueryCriteria(ProcessInstanceQueryImpl executionQuery) |
Modifier and Type | Method and Description |
---|---|
List<ProcessInstance> |
ExecutionDataManager.findProcessInstanceAndVariablesByQueryCriteria(ProcessInstanceQueryImpl executionQuery) |
List<ProcessInstance> |
ExecutionDataManager.findProcessInstanceByNativeQuery(Map<String,Object> parameterMap,
int firstResult,
int maxResults) |
List<ProcessInstance> |
ExecutionDataManager.findProcessInstanceByQueryCriteria(ProcessInstanceQueryImpl executionQuery) |
Modifier and Type | Method and Description |
---|---|
List<ProcessInstance> |
MybatisExecutionDataManager.findProcessInstanceAndVariablesByQueryCriteria(ProcessInstanceQueryImpl executionQuery) |
List<ProcessInstance> |
MybatisExecutionDataManager.findProcessInstanceByNativeQuery(Map<String,Object> parameterMap,
int firstResult,
int maxResults) |
List<ProcessInstance> |
MybatisExecutionDataManager.findProcessInstanceByQueryCriteria(ProcessInstanceQueryImpl executionQuery) |
Modifier and Type | Method and Description |
---|---|
ProcessInstance |
ProcessInstanceBuilderImpl.start() |
Modifier and Type | Method and Description |
---|---|
static ProcessInstance |
ProcessInstanceUtil.createAndStartProcessInstance(ProcessDefinitionEntity processDefinition,
String businessKey,
String processInstanceName,
Map<String,Object> variables) |
protected static ProcessInstance |
ProcessInstanceUtil.createAndStartProcessInstance(ProcessDefinitionEntity processDefinition,
String businessKey,
String processInstanceName,
Map<String,Object> variables,
boolean startProcessInstance) |
static ProcessInstance |
ProcessInstanceUtil.createAndStartProcessInstanceByMessage(ProcessDefinitionEntity processDefinition,
String messageName,
Map<String,Object> variables) |
protected static ProcessInstance |
ProcessInstanceUtil.createAndStartProcessInstanceWithInitialFlowElement(ProcessDefinitionEntity processDefinition,
String businessKey,
String processInstanceName,
org.activiti.bpmn.model.FlowElement initialFlowElement,
org.activiti.bpmn.model.Process process,
Map<String,Object> variables,
boolean startProcessInstance) |
static ProcessInstance |
ProcessInstanceUtil.createProcessInstance(ProcessDefinitionEntity processDefinition,
String businessKey,
String processInstanceName,
Map<String,Object> variables) |
Modifier and Type | Method and Description |
---|---|
ProcessInstance |
ProcessInstanceBuilder.start()
Start the process instance
|
Copyright © 2015 Alfresco. All rights reserved.