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 Stringprotected intprotected HistoricProcessInstanceQueryImplprotected boolean -
Constructor Summary
ConstructorsConstructorDescriptionDeleteHistoricProcessInstancesUsingBatchesCmd(HistoricProcessInstanceQueryImpl query, int batchSize, String batchName, boolean sequential) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcreateBatchPartsForParallelExecution(ProcessEngineConfigurationImpl engineConfiguration, Batch batch, long numberOfBatchParts) protected voidcreateBatchPartsForSequentialExecution(ProcessEngineConfigurationImpl engineConfiguration, Batch batch, long numberOfBatchParts) execute(CommandContext commandContext) protected voidpopulateQueryNode(com.fasterxml.jackson.databind.node.ObjectNode queryNode, HistoricProcessInstanceQueryImpl query) protected voidpopulateQueryVariableValue(com.fasterxml.jackson.databind.node.ArrayNode queryVariablesArrayNode, QueryVariableValue variableValue) protected voidputIdentityLinkQuery(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)
-