org.camunda.bpm.engine.impl.cmd.batch
Class AbstractIDBasedBatchCmd<T>

java.lang.Object
  extended by org.camunda.bpm.engine.impl.cmd.batch.AbstractBatchCmd<T>
      extended by org.camunda.bpm.engine.impl.cmd.batch.AbstractIDBasedBatchCmd<T>
All Implemented Interfaces:
Command<T>
Direct Known Subclasses:
AbstractSetJobsRetriesBatchCmd, DeleteHistoricProcessInstancesBatchCmd, DeleteProcessInstanceBatchCmd

public abstract class AbstractIDBasedBatchCmd<T>
extends AbstractBatchCmd<T>

Representation of common logic to all Batch commands which are based on list of IDs.

Author:
Askar Akhmerov

Constructor Summary
AbstractIDBasedBatchCmd()
           
 
Method Summary
protected  int calculateSize(ProcessEngineConfigurationImpl engineConfiguration, BatchConfiguration batchConfiguration)
           
protected  BatchEntity createBatch(CommandContext commandContext, List<String> ids)
           
protected abstract  BatchConfiguration getAbstractIdsBatchConfiguration(List<String> ids)
           
protected abstract  BatchJobHandler getBatchJobHandler(ProcessEngineConfigurationImpl processEngineConfiguration)
           
 
Methods inherited from class org.camunda.bpm.engine.impl.cmd.batch.AbstractBatchCmd
checkAuthorizations
 
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
 

Constructor Detail

AbstractIDBasedBatchCmd

public AbstractIDBasedBatchCmd()
Method Detail

createBatch

protected BatchEntity createBatch(CommandContext commandContext,
                                  List<String> ids)

calculateSize

protected int calculateSize(ProcessEngineConfigurationImpl engineConfiguration,
                            BatchConfiguration batchConfiguration)

getAbstractIdsBatchConfiguration

protected abstract BatchConfiguration getAbstractIdsBatchConfiguration(List<String> ids)

getBatchJobHandler

protected abstract BatchJobHandler getBatchJobHandler(ProcessEngineConfigurationImpl processEngineConfiguration)


Copyright © 2017 camunda services GmbH. All rights reserved.