Class DeleteProcessInstanceBatchCmd
- java.lang.Object
-
- org.camunda.bpm.engine.impl.cmd.batch.DeleteProcessInstanceBatchCmd
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
deleteReason
protected HistoricProcessInstanceQuery
historicProcessInstanceQuery
protected java.util.List<java.lang.String>
processInstanceIds
protected ProcessInstanceQuery
processInstanceQuery
protected boolean
skipCustomListeners
protected boolean
skipSubprocesses
-
Constructor Summary
Constructors Constructor Description DeleteProcessInstanceBatchCmd(java.util.List<java.lang.String> processInstances, ProcessInstanceQuery processInstanceQuery, HistoricProcessInstanceQuery historicProcessInstanceQuery, java.lang.String deleteReason, boolean skipCustomListeners, boolean skipSubprocesses)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BatchElementConfiguration
collectProcessInstanceIds(CommandContext commandContext)
Batch
execute(CommandContext commandContext)
BatchConfiguration
getConfiguration(BatchElementConfiguration elementConfiguration)
java.util.List<java.lang.String>
getProcessInstanceIds()
protected void
writeUserOperationLog(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 java.lang.String deleteReason
-
processInstanceIds
protected java.util.List<java.lang.String> processInstanceIds
-
processInstanceQuery
protected ProcessInstanceQuery processInstanceQuery
-
historicProcessInstanceQuery
protected HistoricProcessInstanceQuery historicProcessInstanceQuery
-
skipCustomListeners
protected boolean skipCustomListeners
-
skipSubprocesses
protected boolean skipSubprocesses
-
-
Constructor Detail
-
DeleteProcessInstanceBatchCmd
public DeleteProcessInstanceBatchCmd(java.util.List<java.lang.String> processInstances, ProcessInstanceQuery processInstanceQuery, HistoricProcessInstanceQuery historicProcessInstanceQuery, java.lang.String deleteReason, boolean skipCustomListeners, boolean skipSubprocesses)
-
-
Method Detail
-
execute
public Batch execute(CommandContext commandContext)
-
collectProcessInstanceIds
protected BatchElementConfiguration collectProcessInstanceIds(CommandContext commandContext)
-
getProcessInstanceIds
public java.util.List<java.lang.String> getProcessInstanceIds()
-
writeUserOperationLog
protected void writeUserOperationLog(CommandContext commandContext, int numInstances)
-
getConfiguration
public BatchConfiguration getConfiguration(BatchElementConfiguration elementConfiguration)
-
-