public class DeleteHistoricDecisionInstancesBatchCmd extends AbstractIDBasedBatchCmd<Batch>
Modifier and Type | Field and Description |
---|---|
protected String |
deleteReason |
protected List<String> |
historicDecisionInstanceIds |
protected HistoricDecisionInstanceQuery |
historicDecisionInstanceQuery |
Constructor and Description |
---|
DeleteHistoricDecisionInstancesBatchCmd(List<String> historicDecisionInstanceIds,
HistoricDecisionInstanceQuery historicDecisionInstanceQuery,
String deleteReason) |
Modifier and Type | Method and Description |
---|---|
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) |
createBatch
checkAuthorizations
protected HistoricDecisionInstanceQuery historicDecisionInstanceQuery
protected String deleteReason
public DeleteHistoricDecisionInstancesBatchCmd(List<String> historicDecisionInstanceIds, HistoricDecisionInstanceQuery historicDecisionInstanceQuery, String deleteReason)
public Batch execute(CommandContext commandContext)
protected void writeUserOperationLog(CommandContext commandContext, int numInstances)
protected BatchConfiguration getAbstractIdsBatchConfiguration(List<String> processInstanceIds)
getAbstractIdsBatchConfiguration
in class AbstractIDBasedBatchCmd<Batch>
protected BatchJobHandler<BatchConfiguration> getBatchJobHandler(ProcessEngineConfigurationImpl processEngineConfiguration)
getBatchJobHandler
in class AbstractIDBasedBatchCmd<Batch>
Copyright © 2022. All rights reserved.