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 |
protected boolean |
skipSubprocesses |
Constructor and Description |
---|
DeleteProcessInstanceBatchCmd(List<String> processInstances,
ProcessInstanceQuery processInstanceQuery,
String deleteReason,
boolean skipCustomListeners,
boolean skipSubprocesses) |
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) |
createBatch
checkAuthorizations
protected final String deleteReason
protected ProcessInstanceQuery processInstanceQuery
protected boolean skipCustomListeners
protected boolean skipSubprocesses
public DeleteProcessInstanceBatchCmd(List<String> processInstances, ProcessInstanceQuery processInstanceQuery, String deleteReason, boolean skipCustomListeners, boolean skipSubprocesses)
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 © 2019. All rights reserved.