public interface Activiti5CompatibilityHandler
Modifier and Type | Field and Description |
---|---|
static String |
ACTIVITI_5_ENGINE_TAG |
Modifier and Type | Method and Description |
---|---|
void |
activateProcessDefinition(String processDefinitionId,
String processDefinitionKey,
boolean activateProcessInstances,
Date activationDate,
String tenantId) |
void |
activateProcessInstance(String processInstanceId) |
void |
addCandidateStarter(String processDefinitionId,
String userId,
String groupId) |
Comment |
addComment(String taskId,
String processInstanceId,
String type,
String message) |
void |
addIdentityLink(String taskId,
String identityId,
int identityIdType,
String identityType) |
void |
addIdentityLinkForProcessInstance(String processInstanceId,
String userId,
String groupId,
String identityLinkType) |
void |
changeDeploymentTenantId(String deploymentId,
String newTenantId) |
void |
claimTask(String taskId,
String userId) |
void |
completeTask(org.activiti.engine.impl.persistence.entity.TaskEntity taskEntity,
Map<String,Object> variables,
boolean localScope) |
Attachment |
createAttachment(String attachmentType,
String taskId,
String processInstanceId,
String attachmentName,
String attachmentDescription,
InputStream content,
String url) |
void |
deleteAttachment(String attachmentId) |
void |
deleteCandidateStarter(String processDefinitionId,
String userId,
String groupId) |
void |
deleteComment(String commentId,
String taskId,
String processInstanceId) |
void |
deleteDeployment(String deploymentId,
boolean cascade) |
void |
deleteHistoricProcessInstance(String processInstanceId) |
void |
deleteHistoricTask(String taskId) |
void |
deleteIdentityLink(String taskId,
String userId,
String groupId,
String identityLinkType) |
void |
deleteIdentityLinkForProcessInstance(String processInstanceId,
String userId,
String groupId,
String identityLinkType) |
void |
deleteJob(String jobId) |
void |
deleteProcessInstance(String processInstanceId,
String deleteReason) |
void |
deleteTask(String taskId,
String deleteReason,
boolean cascade) |
Deployment |
deploy(org.activiti.engine.impl.repository.DeploymentBuilderImpl deploymentBuilder) |
void |
executeJob(Job job) |
void |
executeJobWithLockAndRetry(Job job) |
Object |
getCamelContextObject(String camelContextValue) |
Object |
getExecutionVariable(String executionId,
String variableName,
boolean isLocal) |
org.activiti.engine.impl.persistence.entity.VariableInstance |
getExecutionVariableInstance(String executionId,
String variableName,
boolean isLocal) |
Map<String,org.activiti.engine.impl.persistence.entity.VariableInstance> |
getExecutionVariableInstances(String executionId,
Collection<String> variableNames,
boolean isLocal) |
Map<String,Object> |
getExecutionVariables(String executionId,
Collection<String> variableNames,
boolean isLocal) |
String |
getFormKey(String processDefinitionId,
String taskDefinitionKey) |
ProcessDefinition |
getProcessDefinition(String processDefinitionId) |
org.activiti.bpmn.model.BpmnModel |
getProcessDefinitionBpmnModel(String processDefinitionId) |
ProcessDefinition |
getProcessDefinitionByKey(String processDefinitionKey) |
com.fasterxml.jackson.databind.node.ObjectNode |
getProcessDefinitionInfo(String processDefinitionId) |
org.activiti.bpmn.model.Process |
getProcessDefinitionProcessObject(String processDefinitionId) |
Object |
getRawCommandExecutor() |
Object |
getRawProcessConfiguration() |
Object |
getRawProcessEngine() |
Object |
getRenderedStartForm(String processDefinitionId,
String formEngineName) |
Object |
getScriptingEngineValue(String payloadExpressionValue,
String languageValue,
DelegateExecution execution) |
StartFormData |
getStartFormData(String processDefinitionId) |
Map<String,Object> |
getVariables(ProcessInstance processInstance) |
void |
handleFailedJob(Job job,
Throwable exception) |
boolean |
isProcessDefinitionSuspended(String processDefinitionId) |
void |
leaveExecution(DelegateExecution execution) |
boolean |
mapException(Exception camelException,
DelegateExecution execution,
List<org.activiti.bpmn.model.MapExceptionEntry> mapExceptions) |
void |
messageEventReceived(String messageName,
String executionId,
Map<String,Object> processVariables,
boolean async) |
void |
propagateError(BpmnError bpmnError,
DelegateExecution execution) |
void |
removeExecutionVariables(String executionId,
Collection<String> variableNames,
boolean isLocal) |
void |
removeTaskVariables(String taskId,
Collection<String> variableNames,
boolean isLocal) |
void |
resetClock() |
org.activiti.engine.impl.persistence.deploy.ProcessDefinitionCacheEntry |
resolveProcessDefinition(ProcessDefinition processDefinition) |
void |
saveAttachment(Attachment attachment) |
void |
saveTask(org.activiti.engine.impl.persistence.entity.TaskEntity task) |
void |
setClock(Clock clock) |
void |
setDeploymentCategory(String deploymentId,
String category) |
void |
setExecutionVariables(String executionId,
Map<String,? extends Object> variables,
boolean isLocal) |
void |
setProcessDefinitionCategory(String processDefinitionId,
String category) |
void |
setTaskDueDate(String taskId,
Date dueDate) |
void |
setTaskPriority(String taskId,
int priority) |
void |
setTaskVariables(String taskId,
Map<String,? extends Object> variables,
boolean isLocal) |
void |
signalEventReceived(org.activiti.engine.impl.persistence.entity.SignalEventSubscriptionEntity signalEventSubscriptionEntity,
Object payload,
boolean async) |
void |
signalEventReceived(String signalName,
String executionId,
Map<String,Object> processVariables,
boolean async,
String tenantId) |
ProcessInstance |
startProcessInstance(String processDefinitionKey,
String processDefinitionId,
Map<String,Object> variables,
String businessKey,
String tenantId,
String processInstanceName) |
ProcessInstance |
startProcessInstanceByMessage(String messageName,
Map<String,Object> variables,
String businessKey,
String tenantId) |
ProcessInstance |
submitStartFormData(String processDefinitionId,
String businessKey,
Map<String,String> properties) |
void |
submitTaskFormData(String taskId,
Map<String,String> properties,
boolean completeTask) |
void |
suspendProcessDefinition(String processDefinitionId,
String processDefinitionKey,
boolean suspendProcessInstances,
Date suspensionDate,
String tenantId) |
void |
suspendProcessInstance(String processInstanceId) |
void |
throwErrorEvent(ActivitiEvent event) |
void |
trigger(String executionId,
Map<String,Object> processVariables) |
void |
updateBusinessKey(String processInstanceId,
String businessKey) |
static final String ACTIVITI_5_ENGINE_TAG
ProcessDefinition getProcessDefinition(String processDefinitionId)
ProcessDefinition getProcessDefinitionByKey(String processDefinitionKey)
org.activiti.bpmn.model.Process getProcessDefinitionProcessObject(String processDefinitionId)
org.activiti.bpmn.model.BpmnModel getProcessDefinitionBpmnModel(String processDefinitionId)
com.fasterxml.jackson.databind.node.ObjectNode getProcessDefinitionInfo(String processDefinitionId)
org.activiti.engine.impl.persistence.deploy.ProcessDefinitionCacheEntry resolveProcessDefinition(ProcessDefinition processDefinition)
boolean isProcessDefinitionSuspended(String processDefinitionId)
void addCandidateStarter(String processDefinitionId, String userId, String groupId)
void deleteCandidateStarter(String processDefinitionId, String userId, String groupId)
void suspendProcessDefinition(String processDefinitionId, String processDefinitionKey, boolean suspendProcessInstances, Date suspensionDate, String tenantId)
void activateProcessDefinition(String processDefinitionId, String processDefinitionKey, boolean activateProcessInstances, Date activationDate, String tenantId)
void setProcessDefinitionCategory(String processDefinitionId, String category)
Deployment deploy(org.activiti.engine.impl.repository.DeploymentBuilderImpl deploymentBuilder)
void deleteDeployment(String deploymentId, boolean cascade)
ProcessInstance startProcessInstance(String processDefinitionKey, String processDefinitionId, Map<String,Object> variables, String businessKey, String tenantId, String processInstanceName)
ProcessInstance startProcessInstanceByMessage(String messageName, Map<String,Object> variables, String businessKey, String tenantId)
Object getExecutionVariable(String executionId, String variableName, boolean isLocal)
org.activiti.engine.impl.persistence.entity.VariableInstance getExecutionVariableInstance(String executionId, String variableName, boolean isLocal)
Map<String,Object> getExecutionVariables(String executionId, Collection<String> variableNames, boolean isLocal)
Map<String,org.activiti.engine.impl.persistence.entity.VariableInstance> getExecutionVariableInstances(String executionId, Collection<String> variableNames, boolean isLocal)
void setExecutionVariables(String executionId, Map<String,? extends Object> variables, boolean isLocal)
void removeExecutionVariables(String executionId, Collection<String> variableNames, boolean isLocal)
void suspendProcessInstance(String processInstanceId)
void activateProcessInstance(String processInstanceId)
void addIdentityLinkForProcessInstance(String processInstanceId, String userId, String groupId, String identityLinkType)
void deleteIdentityLinkForProcessInstance(String processInstanceId, String userId, String groupId, String identityLinkType)
void deleteHistoricProcessInstance(String processInstanceId)
void completeTask(org.activiti.engine.impl.persistence.entity.TaskEntity taskEntity, Map<String,Object> variables, boolean localScope)
void setTaskVariables(String taskId, Map<String,? extends Object> variables, boolean isLocal)
void removeTaskVariables(String taskId, Collection<String> variableNames, boolean isLocal)
void setTaskPriority(String taskId, int priority)
void deleteHistoricTask(String taskId)
StartFormData getStartFormData(String processDefinitionId)
ProcessInstance submitStartFormData(String processDefinitionId, String businessKey, Map<String,String> properties)
void submitTaskFormData(String taskId, Map<String,String> properties, boolean completeTask)
void saveTask(org.activiti.engine.impl.persistence.entity.TaskEntity task)
void addIdentityLink(String taskId, String identityId, int identityIdType, String identityType)
void deleteIdentityLink(String taskId, String userId, String groupId, String identityLinkType)
Attachment createAttachment(String attachmentType, String taskId, String processInstanceId, String attachmentName, String attachmentDescription, InputStream content, String url)
void saveAttachment(Attachment attachment)
void deleteAttachment(String attachmentId)
void messageEventReceived(String messageName, String executionId, Map<String,Object> processVariables, boolean async)
void signalEventReceived(String signalName, String executionId, Map<String,Object> processVariables, boolean async, String tenantId)
void signalEventReceived(org.activiti.engine.impl.persistence.entity.SignalEventSubscriptionEntity signalEventSubscriptionEntity, Object payload, boolean async)
void executeJob(Job job)
void executeJobWithLockAndRetry(Job job)
void deleteJob(String jobId)
void leaveExecution(DelegateExecution execution)
void propagateError(BpmnError bpmnError, DelegateExecution execution)
boolean mapException(Exception camelException, DelegateExecution execution, List<org.activiti.bpmn.model.MapExceptionEntry> mapExceptions)
Map<String,Object> getVariables(ProcessInstance processInstance)
Object getScriptingEngineValue(String payloadExpressionValue, String languageValue, DelegateExecution execution)
void throwErrorEvent(ActivitiEvent event)
void setClock(Clock clock)
void resetClock()
Object getRawProcessEngine()
Object getRawProcessConfiguration()
Object getRawCommandExecutor()
Copyright © 2017 Alfresco. All rights reserved.