Class DeleteHistoricCaseInstancesUsingBatchesCmd
- java.lang.Object
-
- org.flowable.cmmn.engine.impl.delete.DeleteHistoricCaseInstancesUsingBatchesCmd
-
-
Field Summary
Fields Modifier and Type Field Description protected StringbatchNameprotected intbatchSizeprotected HistoricCaseInstanceQueryImplhistoricCaseInstanceQueryprotected booleansequential
-
Constructor Summary
Constructors Constructor Description DeleteHistoricCaseInstancesUsingBatchesCmd(HistoricCaseInstanceQueryImpl query, int batchSize, String batchName, boolean sequential)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcreateBatchPartsForParallelExecution(CmmnEngineConfiguration engineConfiguration, org.flowable.batch.api.Batch batch, long numberOfBatchParts)protected voidcreateBatchPartsForSequentialExecution(CmmnEngineConfiguration engineConfiguration, org.flowable.batch.api.Batch batch, long numberOfBatchParts)Stringexecute(CommandContext commandContext)protected voidpopulateQueryNode(com.fasterxml.jackson.databind.node.ObjectNode queryNode, HistoricCaseInstanceQueryImpl 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
-
historicCaseInstanceQuery
protected HistoricCaseInstanceQueryImpl historicCaseInstanceQuery
-
batchSize
protected int batchSize
-
sequential
protected boolean sequential
-
batchName
protected String batchName
-
-
Constructor Detail
-
DeleteHistoricCaseInstancesUsingBatchesCmd
public DeleteHistoricCaseInstancesUsingBatchesCmd(HistoricCaseInstanceQueryImpl query, int batchSize, String batchName, boolean sequential)
-
-
Method Detail
-
execute
public String execute(CommandContext commandContext)
-
createBatchPartsForParallelExecution
protected void createBatchPartsForParallelExecution(CmmnEngineConfiguration engineConfiguration, org.flowable.batch.api.Batch batch, long numberOfBatchParts)
-
createBatchPartsForSequentialExecution
protected void createBatchPartsForSequentialExecution(CmmnEngineConfiguration engineConfiguration, org.flowable.batch.api.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)
-
-