public class DeleteHistoricProcessInstancesBatchCmd extends AbstractIDBasedBatchCmd<Batch>
Modifier and Type | Field and Description |
---|---|
protected String |
deleteReason |
protected List<String> |
historicProcessInstanceIds |
protected HistoricProcessInstanceQuery |
historicProcessInstanceQuery |
Constructor and Description |
---|
DeleteHistoricProcessInstancesBatchCmd(List<String> historicProcessInstanceIds,
HistoricProcessInstanceQuery historicProcessInstanceQuery,
String deleteReason) |
Modifier and Type | Method and Description |
---|---|
protected List<String> |
collectHistoricProcessInstanceIds() |
Batch |
execute(CommandContext commandContext) |
protected BatchConfiguration |
getAbstractIdsBatchConfiguration(List<String> processInstanceIds) |
protected BatchJobHandler<BatchConfiguration> |
getBatchJobHandler(ProcessEngineConfigurationImpl processEngineConfiguration) |
List<String> |
getHistoricProcessInstanceIds() |
protected void |
writeUserOperationLog(CommandContext commandContext,
String deleteReason,
int numInstances,
boolean async) |
calculateSize, createBatch
checkAuthorizations
protected final String deleteReason
protected HistoricProcessInstanceQuery historicProcessInstanceQuery
public DeleteHistoricProcessInstancesBatchCmd(List<String> historicProcessInstanceIds, HistoricProcessInstanceQuery historicProcessInstanceQuery, String deleteReason)
public Batch execute(CommandContext commandContext)
protected void writeUserOperationLog(CommandContext commandContext, String deleteReason, int numInstances, boolean async)
protected BatchConfiguration getAbstractIdsBatchConfiguration(List<String> processInstanceIds)
getAbstractIdsBatchConfiguration
in class AbstractIDBasedBatchCmd<Batch>
protected BatchJobHandler<BatchConfiguration> getBatchJobHandler(ProcessEngineConfigurationImpl processEngineConfiguration)
getBatchJobHandler
in class AbstractIDBasedBatchCmd<Batch>
Copyright © 2018. All rights reserved.