org.camunda.bpm.engine.impl.migration
Class AbstractMigrationCmd<T>

java.lang.Object
  extended by org.camunda.bpm.engine.impl.migration.AbstractMigrationCmd<T>
All Implemented Interfaces:
Command<T>
Direct Known Subclasses:
MigrateProcessInstanceBatchCmd, MigrateProcessInstanceCmd

public abstract class AbstractMigrationCmd<T>
extends Object
implements Command<T>

Author:
Thorben Lindhauer

Field Summary
protected  MigrationPlanExecutionBuilderImpl executionBuilder
           
 
Constructor Summary
AbstractMigrationCmd(MigrationPlanExecutionBuilderImpl executionBuilder)
           
 
Method Summary
protected  void checkAuthorizations(CommandContext commandContext, ProcessDefinitionEntity sourceDefinition, ProcessDefinitionEntity targetDefinition, Collection<String> processInstanceIds)
           
protected  void checkRequiredAuthorizations(CommandContext commandContext, MigrationPlan migrationPlan, Collection<String> processInstanceIds)
           
protected  Collection<String> collectProcessInstanceIds(CommandContext commandContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.camunda.bpm.engine.impl.interceptor.Command
execute
 

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,
                                   Collection<String> processInstanceIds)

collectProcessInstanceIds

protected Collection<String> collectProcessInstanceIds(CommandContext commandContext)

checkRequiredAuthorizations

protected void checkRequiredAuthorizations(CommandContext commandContext,
                                           MigrationPlan migrationPlan,
                                           Collection<String> processInstanceIds)


Copyright © 2016 camunda services GmbH. All rights reserved.