Class BatchDeleteCaseConfig
- java.lang.Object
-
- org.flowable.cmmn.engine.impl.delete.BatchDeleteCaseConfig
-
public class BatchDeleteCaseConfig extends Object
- Author:
- Filip Hrisafov
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classBatchDeleteCaseConfig.VariableValueJsonNodeValueFields
-
Field Summary
Fields Modifier and Type Field Description protected org.flowable.batch.api.Batchbatchprotected org.flowable.batch.api.BatchPartbatchPartprotected intbatchSizeprotected Stringerrorprotected HistoricCaseInstanceQueryqueryprotected booleansequentialExecution
-
Constructor Summary
Constructors Modifier Constructor Description protectedBatchDeleteCaseConfig(org.flowable.batch.api.Batch batch, org.flowable.batch.api.BatchPart batchPart, String error, boolean sequentialExecution)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static List<String>asStringList(com.fasterxml.jackson.databind.JsonNode node)protected static Set<String>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)org.flowable.batch.api.BatchgetBatch()protected static com.fasterxml.jackson.databind.JsonNodegetBatchConfiguration(org.flowable.batch.api.Batch batch, CmmnEngineConfiguration engineConfiguration)org.flowable.batch.api.BatchPartgetBatchPart()intgetBatchSize()StringgetError()HistoricCaseInstanceQuerygetQuery()booleanhasError()booleanisSequentialExecution()protected 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 Detail
-
batch
protected final org.flowable.batch.api.Batch batch
-
batchPart
protected final org.flowable.batch.api.BatchPart batchPart
-
error
protected final String error
-
sequentialExecution
protected final boolean sequentialExecution
-
batchSize
protected int batchSize
-
query
protected HistoricCaseInstanceQuery query
-
-
Constructor Detail
-
BatchDeleteCaseConfig
protected BatchDeleteCaseConfig(org.flowable.batch.api.Batch batch, org.flowable.batch.api.BatchPart batchPart, String error, boolean sequentialExecution)
-
-
Method Detail
-
getBatch
public org.flowable.batch.api.Batch getBatch()
-
getBatchPart
public org.flowable.batch.api.BatchPart getBatchPart()
-
getError
public String getError()
-
hasError
public boolean hasError()
-
isSequentialExecution
public boolean isSequentialExecution()
-
getBatchSize
public int getBatchSize()
-
getQuery
public HistoricCaseInstanceQuery 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
protected static List<String> asStringList(com.fasterxml.jackson.databind.JsonNode node)
-
getBatchConfiguration
protected static com.fasterxml.jackson.databind.JsonNode getBatchConfiguration(org.flowable.batch.api.Batch batch, CmmnEngineConfiguration engineConfiguration)
-
prepareFailedResultAsJsonString
protected static String prepareFailedResultAsJsonString(String errorMessage, CmmnEngineConfiguration engineConfiguration)
-
prepareFailedResultAsJsonString
protected static String prepareFailedResultAsJsonString(String errorMessage, FlowableException exception, CmmnEngineConfiguration engineConfiguration)
-
-