Class DeleteHistoricCaseInstancesUsingBatchesCmd
java.lang.Object
org.flowable.cmmn.engine.impl.delete.DeleteHistoricCaseInstancesUsingBatchesCmd
- Author:
- Filip Hrisafov
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
protected int
protected HistoricCaseInstanceQueryImpl
protected boolean
-
Constructor Summary
ConstructorsConstructorDescriptionDeleteHistoricCaseInstancesUsingBatchesCmd
(HistoricCaseInstanceQueryImpl query, int batchSize, String batchName, boolean sequential) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
createBatchPartsForParallelExecution
(CmmnEngineConfiguration engineConfiguration, Batch batch, long numberOfBatchParts) protected void
createBatchPartsForSequentialExecution
(CmmnEngineConfiguration engineConfiguration, Batch batch, long numberOfBatchParts) execute
(CommandContext commandContext) protected void
populateQueryNode
(com.fasterxml.jackson.databind.node.ObjectNode queryNode, HistoricCaseInstanceQueryImpl 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
-
historicCaseInstanceQuery
-
batchSize
protected int batchSize -
sequential
protected boolean sequential -
batchName
-
-
Constructor Details
-
DeleteHistoricCaseInstancesUsingBatchesCmd
public DeleteHistoricCaseInstancesUsingBatchesCmd(HistoricCaseInstanceQueryImpl query, int batchSize, String batchName, boolean sequential)
-
-
Method Details
-
execute
-
createBatchPartsForParallelExecution
protected void createBatchPartsForParallelExecution(CmmnEngineConfiguration engineConfiguration, Batch batch, long numberOfBatchParts) -
createBatchPartsForSequentialExecution
protected void createBatchPartsForSequentialExecution(CmmnEngineConfiguration engineConfiguration, Batch batch, long numberOfBatchParts) -
populateQueryNode
protected void populateQueryNode(com.fasterxml.jackson.databind.node.ObjectNode queryNode, HistoricCaseInstanceQueryImpl 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)
-