Class AbstractMigrationCmd
- java.lang.Object
-
- org.camunda.bpm.engine.impl.migration.AbstractMigrationCmd
-
- Direct Known Subclasses:
MigrateProcessInstanceBatchCmd
,MigrateProcessInstanceCmd
public abstract class AbstractMigrationCmd extends java.lang.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 java.util.Collection<java.lang.String>
collectProcessInstanceIds()
protected ProcessDefinitionEntity
getProcessDefinition(CommandContext commandContext, java.lang.String processDefinitionId)
protected ProcessDefinitionEntity
resolveSourceProcessDefinition(CommandContext commandContext)
protected ProcessDefinitionEntity
resolveTargetProcessDefinition(CommandContext commandContext)
protected void
writeUserOperationLog(CommandContext commandContext, ProcessDefinitionEntity sourceProcessDefinition, ProcessDefinitionEntity targetProcessDefinition, int numInstances, java.util.Map<java.lang.String,java.lang.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 java.util.Collection<java.lang.String> collectProcessInstanceIds()
-
writeUserOperationLog
protected void writeUserOperationLog(CommandContext commandContext, ProcessDefinitionEntity sourceProcessDefinition, ProcessDefinitionEntity targetProcessDefinition, int numInstances, java.util.Map<java.lang.String,java.lang.Object> variables, boolean async)
-
resolveSourceProcessDefinition
protected ProcessDefinitionEntity resolveSourceProcessDefinition(CommandContext commandContext)
-
resolveTargetProcessDefinition
protected ProcessDefinitionEntity resolveTargetProcessDefinition(CommandContext commandContext)
-
getProcessDefinition
protected ProcessDefinitionEntity getProcessDefinition(CommandContext commandContext, java.lang.String processDefinitionId)
-
-