Class DataObjectFormDataModelVariablesExtractor
java.lang.Object
com.flowable.platform.service.dataobject.DataObjectFormDataModelVariablesExtractor
- All Implemented Interfaces:
FormDataModelVariablesExtractor
public class DataObjectFormDataModelVariablesExtractor
extends Object
implements FormDataModelVariablesExtractor
- Author:
- Filip Hrisafov
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected DataObjectInstanceVariableContainer
create
(Map<String, Object> formModifiedData, String dataObjectDefinitionKey, DataObjectEngineConfiguration dataObjectEngineConfiguration, String currentTenantId) extractVariableFromFormPayload
(FormDataModel formDataModel, Map<String, Object> formModifiedData, Map<String, Object> originalData, List<FormVariable> dataModelVariableTypes) protected FormVariable
findDataObjectVariable
(List<FormVariable> variables) protected DataObjectInstanceVariableContainer
modify
(String definitionId, Map<String, Object> formModifiedData, Map<String, Object> originalData, DataObjectEngineConfiguration engineConfiguration) parseFormModifiedData
(Map<String, Object> formModifiedData, ServiceRegistryDataObjectModel model, com.fasterxml.jackson.databind.ObjectMapper objectMapper) protected Object
transformValue
(Object value, ServiceRegistryFieldMapping fieldMapping, com.fasterxml.jackson.databind.ObjectMapper objectMapper) protected void
-
Constructor Details
-
DataObjectFormDataModelVariablesExtractor
public DataObjectFormDataModelVariablesExtractor()
-
-
Method Details
-
extractVariableFromFormPayload
public Object extractVariableFromFormPayload(FormDataModel formDataModel, Map<String, Object> formModifiedData, Map<String, Object> originalData, List<FormVariable> dataModelVariableTypes) - Specified by:
extractVariableFromFormPayload
in interfaceFormDataModelVariablesExtractor
-
modify
protected DataObjectInstanceVariableContainer modify(String definitionId, Map<String, Object> formModifiedData, Map<String, Object> originalData, DataObjectEngineConfiguration engineConfiguration) -
create
protected DataObjectInstanceVariableContainer create(Map<String, Object> formModifiedData, String dataObjectDefinitionKey, DataObjectEngineConfiguration dataObjectEngineConfiguration, String currentTenantId) -
parseFormModifiedData
-
transformValue
protected Object transformValue(Object value, ServiceRegistryFieldMapping fieldMapping, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
findDataObjectVariable
-
verifyAllowedToCreate
-