Class AbstractMigrationCmd
- java.lang.Object
-
- org.camunda.bpm.engine.impl.migration.AbstractMigrationCmd
-
- Direct Known Subclasses:
MigrateProcessInstanceBatchCmd
,MigrateProcessInstanceCmd
public abstract class AbstractMigrationCmd extends Object
- Author:
- Thorben Lindhauer
-
-
Field Summary
Fields Modifier and Type Field Description protected MigrationPlanExecutionBuilderImpl
executionBuilder
-
Constructor Summary
Constructors Constructor Description AbstractMigrationCmd(MigrationPlanExecutionBuilderImpl executionBuilder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
checkAuthorizations(CommandContext commandContext, ProcessDefinitionEntity sourceDefinition, ProcessDefinitionEntity targetDefinition)
protected Collection<String>
collectProcessInstanceIds()
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 Detail
-
executionBuilder
protected MigrationPlanExecutionBuilderImpl executionBuilder
-
-
Constructor Detail
-
AbstractMigrationCmd
public AbstractMigrationCmd(MigrationPlanExecutionBuilderImpl executionBuilder)
-
-
Method Detail
-
checkAuthorizations
protected void checkAuthorizations(CommandContext commandContext, ProcessDefinitionEntity sourceDefinition, ProcessDefinitionEntity targetDefinition)
-
collectProcessInstanceIds
protected Collection<String> collectProcessInstanceIds()
-
writeUserOperationLog
protected void writeUserOperationLog(CommandContext commandContext, ProcessDefinitionEntity sourceProcessDefinition, ProcessDefinitionEntity targetProcessDefinition, int numInstances, Map<String,Object> variables, boolean async)
-
resolveSourceProcessDefinition
protected ProcessDefinitionEntity resolveSourceProcessDefinition(CommandContext commandContext)
-
resolveTargetProcessDefinition
protected ProcessDefinitionEntity resolveTargetProcessDefinition(CommandContext commandContext)
-
getProcessDefinition
protected ProcessDefinitionEntity getProcessDefinition(CommandContext commandContext, String processDefinitionId)
-
-