Package org.flowable.engine.impl.delete
Class DeleteHistoricProcessInstancesUsingBatchesCmd
- java.lang.Object
-
- org.flowable.engine.impl.delete.DeleteHistoricProcessInstancesUsingBatchesCmd
-
-
Field Summary
Fields Modifier and Type Field Description protected StringbatchNameprotected intbatchSizeprotected HistoricProcessInstanceQueryImplhistoricProcessInstanceQueryprotected booleansequential
-
Constructor Summary
Constructors Constructor Description DeleteHistoricProcessInstancesUsingBatchesCmd(HistoricProcessInstanceQueryImpl query, int batchSize, String batchName, boolean sequential)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcreateBatchPartsForParallelExecution(ProcessEngineConfigurationImpl engineConfiguration, org.flowable.batch.api.Batch batch, long numberOfBatchParts)protected voidcreateBatchPartsForSequentialExecution(ProcessEngineConfigurationImpl engineConfiguration, org.flowable.batch.api.Batch batch, long numberOfBatchParts)Stringexecute(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 Detail
-
historicProcessInstanceQuery
protected HistoricProcessInstanceQueryImpl historicProcessInstanceQuery
-
batchSize
protected int batchSize
-
sequential
protected boolean sequential
-
batchName
protected String batchName
-
-
Constructor Detail
-
DeleteHistoricProcessInstancesUsingBatchesCmd
public DeleteHistoricProcessInstancesUsingBatchesCmd(HistoricProcessInstanceQueryImpl query, int batchSize, String batchName, boolean sequential)
-
-
Method Detail
-
execute
public String execute(CommandContext commandContext)
-
createBatchPartsForParallelExecution
protected void createBatchPartsForParallelExecution(ProcessEngineConfigurationImpl engineConfiguration, org.flowable.batch.api.Batch batch, long numberOfBatchParts)
-
createBatchPartsForSequentialExecution
protected void createBatchPartsForSequentialExecution(ProcessEngineConfigurationImpl engineConfiguration, org.flowable.batch.api.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)
-
-