Package org.flowable.engine.impl.delete
Class DeleteHistoricProcessInstancesUsingBatchesCmd
java.lang.Object
org.flowable.engine.impl.delete.DeleteHistoricProcessInstancesUsingBatchesCmd
public class DeleteHistoricProcessInstancesUsingBatchesCmd
extends Object
implements Command<String>
- Author:
- Filip Hrisafov
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
protected int
protected HistoricProcessInstanceQueryImpl
protected boolean
-
Constructor Summary
ConstructorsConstructorDescriptionDeleteHistoricProcessInstancesUsingBatchesCmd
(HistoricProcessInstanceQueryImpl query, int batchSize, String batchName, boolean sequential) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
createBatchPartsForParallelExecution
(ProcessEngineConfigurationImpl engineConfiguration, Batch batch, long numberOfBatchParts) protected void
createBatchPartsForSequentialExecution
(ProcessEngineConfigurationImpl engineConfiguration, Batch batch, long numberOfBatchParts) execute
(CommandContext commandContext) protected void
populateQueryNode
(com.fasterxml.jackson.databind.node.ObjectNode queryNode, HistoricProcessInstanceQueryImpl query) protected void
populateQueryVariableValue
(com.fasterxml.jackson.databind.node.ArrayNode queryVariablesArrayNode, QueryVariableValue variableValue) protected void
putIdentityLinkQuery
(com.fasterxml.jackson.databind.node.ObjectNode queryNode, String key, IdentityLinkQueryObject linkQueryObject)
-
Field Details
-
historicProcessInstanceQuery
-
batchSize
protected int batchSize -
sequential
protected boolean sequential -
batchName
-
-
Constructor Details
-
DeleteHistoricProcessInstancesUsingBatchesCmd
public DeleteHistoricProcessInstancesUsingBatchesCmd(HistoricProcessInstanceQueryImpl query, int batchSize, String batchName, boolean sequential)
-
-
Method Details
-
execute
-
createBatchPartsForParallelExecution
protected void createBatchPartsForParallelExecution(ProcessEngineConfigurationImpl engineConfiguration, Batch batch, long numberOfBatchParts) -
createBatchPartsForSequentialExecution
protected void createBatchPartsForSequentialExecution(ProcessEngineConfigurationImpl engineConfiguration, Batch batch, long numberOfBatchParts) -
populateQueryNode
protected void populateQueryNode(com.fasterxml.jackson.databind.node.ObjectNode queryNode, HistoricProcessInstanceQueryImpl query) -
putIdentityLinkQuery
protected void putIdentityLinkQuery(com.fasterxml.jackson.databind.node.ObjectNode queryNode, String key, IdentityLinkQueryObject linkQueryObject) -
populateQueryVariableValue
protected void populateQueryVariableValue(com.fasterxml.jackson.databind.node.ArrayNode queryVariablesArrayNode, QueryVariableValue variableValue)
-