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 Batchprotected final BatchPartprotected intprotected final Stringprotected HistoricCaseInstanceQueryprotected final boolean -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBatchDeleteCaseConfig(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 BatchDeleteCaseConfigcreate(String batchPartId, CmmnEngineConfiguration engineConfiguration) protected static HistoricCaseInstanceQuerycreateQuery(com.fasterxml.jackson.databind.JsonNode queryNode, CmmnEngineConfiguration engineConfiguration) protected static ObjectextractVariableValue(com.fasterxml.jackson.databind.JsonNode variableValueNode, CmmnEngineConfiguration engineConfiguration) getBatch()protected static com.fasterxml.jackson.databind.JsonNodegetBatchConfiguration(Batch batch, CmmnEngineConfiguration engineConfiguration) intgetError()getQuery()booleanhasError()booleanprotected static voidpopulateOrQueryObjects(com.fasterxml.jackson.databind.JsonNode orQueryObjectsNode, HistoricCaseInstanceQuery query, CmmnEngineConfiguration engineConfiguration) protected static voidpopulateQuery(com.fasterxml.jackson.databind.JsonNode queryNode, HistoricCaseInstanceQuery query, CmmnEngineConfiguration engineConfiguration) protected static voidpopulateQueryVariableValues(com.fasterxml.jackson.databind.JsonNode variableValuesNode, HistoricCaseInstanceQuery query, CmmnEngineConfiguration engineConfiguration) protected static StringprepareFailedResultAsJsonString(String errorMessage, CmmnEngineConfiguration engineConfiguration) protected static StringprepareFailedResultAsJsonString(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)
-