org.camunda.bpm.engine.impl.cmd.batch
Class DeleteHistoricProcessInstancesBatchCmd
java.lang.Object
org.camunda.bpm.engine.impl.cmd.batch.AbstractBatchCmd<T>
org.camunda.bpm.engine.impl.cmd.batch.AbstractIDBasedBatchCmd<Batch>
org.camunda.bpm.engine.impl.cmd.batch.DeleteHistoricProcessInstancesBatchCmd
- All Implemented Interfaces:
- Command<Batch>
public class DeleteHistoricProcessInstancesBatchCmd
- extends AbstractIDBasedBatchCmd<Batch>
- Author:
- Askar Akhmerov
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
deleteReason
protected final String deleteReason
historicProcessInstanceIds
protected List<String> historicProcessInstanceIds
historicProcessInstanceQuery
protected HistoricProcessInstanceQuery historicProcessInstanceQuery
DeleteHistoricProcessInstancesBatchCmd
public DeleteHistoricProcessInstancesBatchCmd(List<String> historicProcessInstanceIds,
HistoricProcessInstanceQuery historicProcessInstanceQuery,
String deleteReason)
collectHistoricProcessInstanceIds
protected List<String> collectHistoricProcessInstanceIds()
getHistoricProcessInstanceIds
public List<String> getHistoricProcessInstanceIds()
execute
public Batch execute(CommandContext commandContext)
writeUserOperationLog
protected void writeUserOperationLog(CommandContext commandContext,
String deleteReason,
int numInstances,
boolean async)
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 © 2017 camunda services GmbH. All rights reserved.