public class DeleteProcessInstanceBatchCmd extends AbstractIDBasedBatchCmd<Batch>
Modifier and Type | Field and Description |
---|---|
protected String |
deleteReason |
protected List<String> |
processInstanceIds |
protected ProcessInstanceQuery |
processInstanceQuery |
protected boolean |
skipCustomListeners |
Constructor and Description |
---|
DeleteProcessInstanceBatchCmd(List<String> processInstances,
ProcessInstanceQuery processInstanceQuery,
String deleteReason,
boolean skipCustomListeners) |
Modifier and Type | Method and Description |
---|---|
protected List<String> |
collectProcessInstanceIds() |
Batch |
execute(CommandContext commandContext) |
protected BatchConfiguration |
getAbstractIdsBatchConfiguration(List<String> processInstanceIds) |
protected BatchJobHandler<DeleteProcessInstanceBatchConfiguration> |
getBatchJobHandler(ProcessEngineConfigurationImpl processEngineConfiguration) |
List<String> |
getProcessInstanceIds() |
protected void |
writeUserOperationLog(CommandContext commandContext,
String deleteReason,
int numInstances,
boolean async) |
calculateSize, createBatch
checkAuthorizations
protected final String deleteReason
protected ProcessInstanceQuery processInstanceQuery
protected boolean skipCustomListeners
public DeleteProcessInstanceBatchCmd(List<String> processInstances, ProcessInstanceQuery processInstanceQuery, String deleteReason, boolean skipCustomListeners)
public Batch execute(CommandContext commandContext)
protected BatchConfiguration getAbstractIdsBatchConfiguration(List<String> processInstanceIds)
getAbstractIdsBatchConfiguration
in class AbstractIDBasedBatchCmd<Batch>
protected BatchJobHandler<DeleteProcessInstanceBatchConfiguration> getBatchJobHandler(ProcessEngineConfigurationImpl processEngineConfiguration)
getBatchJobHandler
in class AbstractIDBasedBatchCmd<Batch>
protected void writeUserOperationLog(CommandContext commandContext, String deleteReason, int numInstances, boolean async)
Copyright © 2018. All rights reserved.