Interface Flowable5CompatibilityHandler
public interface Flowable5CompatibilityHandler
- Author:
- Joram Barrez, Tijs Rademakers
-
Method Summary
Modifier and TypeMethodDescriptionvoid
activateProcessDefinition
(String processDefinitionId, String processDefinitionKey, boolean activateProcessInstances, Date activationDate, String tenantId) void
activateProcessInstance
(String processInstanceId) void
addCandidateStarter
(String processDefinitionId, String userId, String groupId) 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
void
completeTask
(org.flowable.task.service.impl.persistence.entity.TaskEntity taskEntity, Map<String, Object> variables, boolean localScope) void
completeTask
(org.flowable.task.service.impl.persistence.entity.TaskEntity taskEntity, Map<String, Object> variables, Map<String, Object> transientVariables) 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
void
deleteProcessInstance
(String processInstanceId, String deleteReason) void
deleteTask
(String taskId, String deleteReason, boolean cascade) deploy
(org.flowable.engine.impl.repository.DeploymentBuilderImpl deploymentBuilder) void
executeJob
(org.flowable.job.api.Job job) void
executeJobWithLockAndRetry
(org.flowable.job.api.Job job) getCamelContextObject
(String camelContextValue) getExecutionVariable
(String executionId, String variableName, boolean isLocal) org.flowable.variable.api.persistence.entity.VariableInstance
getExecutionVariableInstance
(String executionId, String variableName, boolean isLocal) getExecutionVariableInstances
(String executionId, Collection<String> variableNames, boolean isLocal) getExecutionVariables
(String executionId, Collection<String> variableNames, boolean isLocal) getFormKey
(String processDefinitionId, String taskDefinitionKey) getProcessDefinition
(String processDefinitionId) org.flowable.bpmn.model.BpmnModel
getProcessDefinitionBpmnModel
(String processDefinitionId) getProcessDefinitionByKey
(String processDefinitionKey) com.fasterxml.jackson.databind.node.ObjectNode
getProcessDefinitionInfo
(String processDefinitionId) org.flowable.bpmn.model.Process
getProcessDefinitionProcessObject
(String processDefinitionId) getProcessInstance
(String processInstanceId) getRenderedStartForm
(String processDefinitionId, String formEngineName) getScriptingEngineValue
(String payloadExpressionValue, String languageValue, DelegateExecution execution) getStartFormData
(String processDefinitionId) getTaskFormData
(String taskId) getVariables
(ProcessInstance processInstance) void
handleFailedJob
(org.flowable.job.api.Job job, Throwable exception) boolean
isProcessDefinitionSuspended
(String processDefinitionId) void
leaveExecution
(DelegateExecution execution) void
leaveMIExecution
(DelegateExecution execution, Object v5MultiInstanceActivityBehavior) boolean
mapException
(Exception camelException, DelegateExecution execution, List<org.flowable.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
org.flowable.engine.impl.persistence.deploy.ProcessDefinitionCacheEntry
resolveProcessDefinition
(ProcessDefinition processDefinition) void
saveAttachment
(Attachment attachment) void
saveTask
(org.flowable.task.service.impl.persistence.entity.TaskEntity task) void
setClock
(org.flowable.common.engine.impl.runtime.Clock clock) void
setDeploymentCategory
(String deploymentId, String category) void
setExecutionVariables
(String executionId, Map<String, ? extends Object> variables, boolean isLocal) void
setFlowable6ProcessEngineConfiguration
(ProcessEngineConfiguration processEngineConfiguration) void
setJobProcessor
(List<Object> flowable5JobProcessors) void
setProcessDefinitionCategory
(String processDefinitionId, String category) void
setProcessInstanceName
(String processInstanceId, String processInstanceName) 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
(String signalName, String executionId, Map<String, Object> processVariables, boolean async, String tenantId) void
signalEventReceived
(org.flowable.eventsubscription.service.impl.persistence.entity.SignalEventSubscriptionEntity signalEventSubscriptionEntity, Object payload, boolean async) startProcessInstance
(String processDefinitionKey, String processDefinitionId, Map<String, Object> variables, Map<String, Object> transientVariables, String businessKey, String tenantId, String processInstanceName) startProcessInstanceByMessage
(String messageName, Map<String, Object> variables, Map<String, Object> transientVariables, String businessKey, String tenantId) 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
(org.flowable.common.engine.api.delegate.event.FlowableEvent event) void
trigger
(String executionId, Map<String, Object> processVariables, Map<String, Object> transientVariables) void
updateBusinessKey
(String processInstanceId, String businessKey)
-
Method Details
-
getProcessDefinition
-
getProcessDefinitionByKey
-
getProcessDefinitionProcessObject
-
getProcessDefinitionBpmnModel
-
getProcessDefinitionInfo
-
resolveProcessDefinition
org.flowable.engine.impl.persistence.deploy.ProcessDefinitionCacheEntry resolveProcessDefinition(ProcessDefinition processDefinition) -
isProcessDefinitionSuspended
-
addCandidateStarter
-
deleteCandidateStarter
-
suspendProcessDefinition
-
activateProcessDefinition
-
setProcessDefinitionCategory
-
deploy
-
setDeploymentCategory
-
changeDeploymentTenantId
-
deleteDeployment
-
startProcessInstance
-
startProcessInstanceByMessage
-
getProcessInstance
-
setProcessInstanceName
-
getExecutionVariable
-
getExecutionVariableInstance
-
getExecutionVariables
-
getExecutionVariableInstances
Map<String,org.flowable.variable.api.persistence.entity.VariableInstance> getExecutionVariableInstances(String executionId, Collection<String> variableNames, boolean isLocal) -
setExecutionVariables
-
removeExecutionVariables
void removeExecutionVariables(String executionId, Collection<String> variableNames, boolean isLocal) -
updateBusinessKey
-
suspendProcessInstance
-
activateProcessInstance
-
addIdentityLinkForProcessInstance
-
deleteIdentityLinkForProcessInstance
-
deleteProcessInstance
-
deleteHistoricProcessInstance
-
completeTask
-
completeTask
-
claimTask
-
setTaskVariables
-
removeTaskVariables
-
setTaskDueDate
-
setTaskPriority
-
deleteTask
-
deleteHistoricTask
-
getStartFormData
-
getFormKey
-
getRenderedStartForm
-
submitStartFormData
-
getTaskFormData
-
submitTaskFormData
-
saveTask
void saveTask(org.flowable.task.service.impl.persistence.entity.TaskEntity task) -
addIdentityLink
-
deleteIdentityLink
-
addComment
-
deleteComment
-
createAttachment
Attachment createAttachment(String attachmentType, String taskId, String processInstanceId, String attachmentName, String attachmentDescription, InputStream content, String url) -
saveAttachment
-
deleteAttachment
-
trigger
-
messageEventReceived
-
signalEventReceived
-
signalEventReceived
void signalEventReceived(org.flowable.eventsubscription.service.impl.persistence.entity.SignalEventSubscriptionEntity signalEventSubscriptionEntity, Object payload, boolean async) -
executeJob
void executeJob(org.flowable.job.api.Job job) -
executeJobWithLockAndRetry
void executeJobWithLockAndRetry(org.flowable.job.api.Job job) -
handleFailedJob
-
deleteJob
-
leaveExecution
-
leaveMIExecution
-
propagateError
-
mapException
boolean mapException(Exception camelException, DelegateExecution execution, List<org.flowable.bpmn.model.MapExceptionEntry> mapExceptions) -
getVariables
-
getScriptingEngineValue
Object getScriptingEngineValue(String payloadExpressionValue, String languageValue, DelegateExecution execution) -
throwErrorEvent
void throwErrorEvent(org.flowable.common.engine.api.delegate.event.FlowableEvent event) -
setClock
void setClock(org.flowable.common.engine.impl.runtime.Clock clock) -
resetClock
void resetClock() -
getRawProcessEngine
Object getRawProcessEngine() -
getRawProcessConfiguration
Object getRawProcessConfiguration() -
getRawCommandExecutor
Object getRawCommandExecutor() -
getFlowable6ProcessEngineConfiguration
ProcessEngineConfiguration getFlowable6ProcessEngineConfiguration() -
setFlowable6ProcessEngineConfiguration
-
getCamelContextObject
-
setJobProcessor
-