Class DeleteProcessInstanceBatchCmd
- java.lang.Object
-
- org.camunda.bpm.engine.impl.cmd.batch.DeleteProcessInstanceBatchCmd
-
-
Field Summary
Fields Modifier and Type Field Description protected StringdeleteReasonprotected HistoricProcessInstanceQueryhistoricProcessInstanceQueryprotected List<String>processInstanceIdsprotected ProcessInstanceQueryprocessInstanceQueryprotected booleanskipCustomListenersprotected booleanskipSubprocesses
-
Constructor Summary
Constructors Constructor Description DeleteProcessInstanceBatchCmd(List<String> processInstances, ProcessInstanceQuery processInstanceQuery, HistoricProcessInstanceQuery historicProcessInstanceQuery, String deleteReason, boolean skipCustomListeners, boolean skipSubprocesses)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BatchElementConfigurationcollectProcessInstanceIds(CommandContext commandContext)Batchexecute(CommandContext commandContext)BatchConfigurationgetConfiguration(BatchElementConfiguration elementConfiguration)List<String>getProcessInstanceIds()protected voidwriteUserOperationLog(CommandContext commandContext, int numInstances)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.camunda.bpm.engine.impl.interceptor.Command
isRetryable
-
-
-
-
Field Detail
-
deleteReason
protected final String deleteReason
-
processInstanceQuery
protected ProcessInstanceQuery processInstanceQuery
-
historicProcessInstanceQuery
protected HistoricProcessInstanceQuery historicProcessInstanceQuery
-
skipCustomListeners
protected boolean skipCustomListeners
-
skipSubprocesses
protected boolean skipSubprocesses
-
-
Constructor Detail
-
DeleteProcessInstanceBatchCmd
public DeleteProcessInstanceBatchCmd(List<String> processInstances, ProcessInstanceQuery processInstanceQuery, HistoricProcessInstanceQuery historicProcessInstanceQuery, String deleteReason, boolean skipCustomListeners, boolean skipSubprocesses)
-
-
Method Detail
-
execute
public Batch execute(CommandContext commandContext)
-
collectProcessInstanceIds
protected BatchElementConfiguration collectProcessInstanceIds(CommandContext commandContext)
-
writeUserOperationLog
protected void writeUserOperationLog(CommandContext commandContext, int numInstances)
-
getConfiguration
public BatchConfiguration getConfiguration(BatchElementConfiguration elementConfiguration)
-
-