Class BatchDeleteCaseConfig
java.lang.Object
org.flowable.cmmn.engine.impl.delete.BatchDeleteCaseConfig
- Author:
- Filip Hrisafov
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Batch
protected final BatchPart
protected int
protected final String
protected HistoricCaseInstanceQuery
protected final boolean
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
BatchDeleteCaseConfig
(Batch batch, BatchPart batchPart, String error, boolean sequentialExecution) -
Method Summary
Modifier and TypeMethodDescriptionasStringList
(com.fasterxml.jackson.databind.JsonNode node) asStringSet
(com.fasterxml.jackson.databind.JsonNode node) static BatchDeleteCaseConfig
create
(String batchPartId, CmmnEngineConfiguration engineConfiguration) protected static HistoricCaseInstanceQuery
createQuery
(com.fasterxml.jackson.databind.JsonNode queryNode, CmmnEngineConfiguration engineConfiguration) protected static Object
extractVariableValue
(com.fasterxml.jackson.databind.JsonNode variableValueNode, CmmnEngineConfiguration engineConfiguration) getBatch()
protected static com.fasterxml.jackson.databind.JsonNode
getBatchConfiguration
(Batch batch, CmmnEngineConfiguration engineConfiguration) int
getError()
getQuery()
boolean
hasError()
boolean
protected static void
populateOrQueryObjects
(com.fasterxml.jackson.databind.JsonNode orQueryObjectsNode, HistoricCaseInstanceQuery query, CmmnEngineConfiguration engineConfiguration) protected static void
populateQuery
(com.fasterxml.jackson.databind.JsonNode queryNode, HistoricCaseInstanceQuery query, CmmnEngineConfiguration engineConfiguration) protected static void
populateQueryVariableValues
(com.fasterxml.jackson.databind.JsonNode variableValuesNode, HistoricCaseInstanceQuery query, CmmnEngineConfiguration engineConfiguration) protected static String
prepareFailedResultAsJsonString
(String errorMessage, CmmnEngineConfiguration engineConfiguration) protected static String
prepareFailedResultAsJsonString
(String errorMessage, FlowableException exception, CmmnEngineConfiguration engineConfiguration)
-
Field Details
-
batch
-
batchPart
-
error
-
sequentialExecution
protected final boolean sequentialExecution -
batchSize
protected int batchSize -
query
-
-
Constructor Details
-
BatchDeleteCaseConfig
-
-
Method Details
-
getBatch
-
getBatchPart
-
getError
-
hasError
public boolean hasError() -
isSequentialExecution
public boolean isSequentialExecution() -
getBatchSize
public int getBatchSize() -
getQuery
-
create
public static BatchDeleteCaseConfig create(String batchPartId, CmmnEngineConfiguration engineConfiguration) -
createQuery
protected static HistoricCaseInstanceQuery createQuery(com.fasterxml.jackson.databind.JsonNode queryNode, CmmnEngineConfiguration engineConfiguration) -
populateQuery
protected static void populateQuery(com.fasterxml.jackson.databind.JsonNode queryNode, HistoricCaseInstanceQuery query, CmmnEngineConfiguration engineConfiguration) -
populateOrQueryObjects
protected static void populateOrQueryObjects(com.fasterxml.jackson.databind.JsonNode orQueryObjectsNode, HistoricCaseInstanceQuery query, CmmnEngineConfiguration engineConfiguration) -
populateQueryVariableValues
protected static void populateQueryVariableValues(com.fasterxml.jackson.databind.JsonNode variableValuesNode, HistoricCaseInstanceQuery query, CmmnEngineConfiguration engineConfiguration) -
extractVariableValue
protected static Object extractVariableValue(com.fasterxml.jackson.databind.JsonNode variableValueNode, CmmnEngineConfiguration engineConfiguration) -
asStringList
-
asStringSet
-
getBatchConfiguration
protected static com.fasterxml.jackson.databind.JsonNode getBatchConfiguration(Batch batch, CmmnEngineConfiguration engineConfiguration) -
prepareFailedResultAsJsonString
protected static String prepareFailedResultAsJsonString(String errorMessage, CmmnEngineConfiguration engineConfiguration) -
prepareFailedResultAsJsonString
protected static String prepareFailedResultAsJsonString(String errorMessage, FlowableException exception, CmmnEngineConfiguration engineConfiguration)
-