org.camunda.bpm.engine.impl.cmd.batch
Class DeleteProcessInstanceBatchCmd
java.lang.Object
org.camunda.bpm.engine.impl.cmd.batch.AbstractBatchCmd<Batch>
org.camunda.bpm.engine.impl.cmd.batch.DeleteProcessInstanceBatchCmd
- All Implemented Interfaces:
- Command<Batch>
public class DeleteProcessInstanceBatchCmd
- extends AbstractBatchCmd<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
processInstanceIds
protected List<String> processInstanceIds
processInstanceQuery
protected ProcessInstanceQuery processInstanceQuery
DeleteProcessInstanceBatchCmd
public DeleteProcessInstanceBatchCmd(List<String> processInstances,
ProcessInstanceQuery processInstanceQuery,
String deleteReason)
collectProcessInstanceIds
protected List<String> collectProcessInstanceIds()
getProcessInstanceIds
public List<String> getProcessInstanceIds()
execute
public Batch execute(CommandContext commandContext)
createBatch
protected BatchEntity createBatch(CommandContext commandContext,
List<String> processInstanceIds,
String deleteReason)
calculateSize
protected int calculateSize(ProcessEngineConfigurationImpl engineConfiguration,
DeleteProcessInstanceBatchConfiguration batchConfiguration)
getBatchJobHandler
protected BatchJobHandler<DeleteProcessInstanceBatchConfiguration> getBatchJobHandler(ProcessEngineConfigurationImpl processEngineConfiguration)
writeUserOperationLog
protected void writeUserOperationLog(CommandContext commandContext,
String deleteReason,
int numInstances,
boolean async)
Copyright © 2016 camunda services GmbH. All rights reserved.