org.camunda.bpm.engine.impl.dmn.cmd
Class DeleteHistoricDecisionInstancesBatchCmd

java.lang.Object
  extended by org.camunda.bpm.engine.impl.cmd.batch.AbstractBatchCmd<T>
      extended by org.camunda.bpm.engine.impl.cmd.batch.AbstractIDBasedBatchCmd<Batch>
          extended by org.camunda.bpm.engine.impl.dmn.cmd.DeleteHistoricDecisionInstancesBatchCmd
All Implemented Interfaces:
Command<Batch>

public class DeleteHistoricDecisionInstancesBatchCmd
extends AbstractIDBasedBatchCmd<Batch>


Field Summary
protected  String deleteReason
           
protected  HistoricDecisionInstanceQuery historicDecisionInstanceQuery
           
protected  List<String> historicProcessInstanceIds
           
 
Constructor Summary
DeleteHistoricDecisionInstancesBatchCmd(List<String> historicDecisionInstanceIds, HistoricDecisionInstanceQuery historicDecisionInstanceQuery, String deleteReason)
           
 
Method Summary
protected  List<String> collectHistoricDecisionInstanceIds()
           
 Batch execute(CommandContext commandContext)
           
protected  BatchConfiguration getAbstractIdsBatchConfiguration(List<String> processInstanceIds)
           
protected  BatchJobHandler<BatchConfiguration> getBatchJobHandler(ProcessEngineConfigurationImpl processEngineConfiguration)
           
 List<String> getHistoricDecisionInstanceIds()
           
protected  void writeUserOperationLog(CommandContext commandContext, int numInstances)
           
 
Methods inherited from class org.camunda.bpm.engine.impl.cmd.batch.AbstractIDBasedBatchCmd
calculateSize, createBatch
 
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
 

Field Detail

historicProcessInstanceIds

protected List<String> historicProcessInstanceIds

historicDecisionInstanceQuery

protected HistoricDecisionInstanceQuery historicDecisionInstanceQuery

deleteReason

protected String deleteReason
Constructor Detail

DeleteHistoricDecisionInstancesBatchCmd

public DeleteHistoricDecisionInstancesBatchCmd(List<String> historicDecisionInstanceIds,
                                               HistoricDecisionInstanceQuery historicDecisionInstanceQuery,
                                               String deleteReason)
Method Detail

collectHistoricDecisionInstanceIds

protected List<String> collectHistoricDecisionInstanceIds()

getHistoricDecisionInstanceIds

public List<String> getHistoricDecisionInstanceIds()

execute

public Batch execute(CommandContext commandContext)

writeUserOperationLog

protected void writeUserOperationLog(CommandContext commandContext,
                                     int numInstances)

getAbstractIdsBatchConfiguration

protected BatchConfiguration getAbstractIdsBatchConfiguration(List<String> processInstanceIds)
Specified by:
getAbstractIdsBatchConfiguration in class AbstractIDBasedBatchCmd<Batch>

getBatchJobHandler

protected BatchJobHandler<BatchConfiguration> getBatchJobHandler(ProcessEngineConfigurationImpl processEngineConfiguration)
Specified by:
getBatchJobHandler in class AbstractIDBasedBatchCmd<Batch>


Copyright © 2018 camunda services GmbH. All rights reserved.