Class AbstractMigrationCmd
java.lang.Object
org.camunda.bpm.engine.impl.migration.AbstractMigrationCmd
- Direct Known Subclasses:
MigrateProcessInstanceBatchCmd
,MigrateProcessInstanceCmd
- Author:
- Thorben Lindhauer
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
checkAuthorizations
(CommandContext commandContext, ProcessDefinitionEntity sourceDefinition, ProcessDefinitionEntity targetDefinition) protected Collection<String>
protected ProcessDefinitionEntity
getProcessDefinition
(CommandContext commandContext, String processDefinitionId) protected ProcessDefinitionEntity
resolveSourceProcessDefinition
(CommandContext commandContext) protected ProcessDefinitionEntity
resolveTargetProcessDefinition
(CommandContext commandContext) protected void
writeUserOperationLog
(CommandContext commandContext, ProcessDefinitionEntity sourceProcessDefinition, ProcessDefinitionEntity targetProcessDefinition, int numInstances, Map<String, Object> variables, boolean async)
-
Field Details
-
executionBuilder
-
-
Constructor Details
-
AbstractMigrationCmd
-
-
Method Details
-
checkAuthorizations
protected void checkAuthorizations(CommandContext commandContext, ProcessDefinitionEntity sourceDefinition, ProcessDefinitionEntity targetDefinition) -
collectProcessInstanceIds
-
writeUserOperationLog
protected void writeUserOperationLog(CommandContext commandContext, ProcessDefinitionEntity sourceProcessDefinition, ProcessDefinitionEntity targetProcessDefinition, int numInstances, Map<String, Object> variables, boolean async) -
resolveSourceProcessDefinition
-
resolveTargetProcessDefinition
-
getProcessDefinition
protected ProcessDefinitionEntity getProcessDefinition(CommandContext commandContext, String processDefinitionId)
-