Package com.flowable.form.engine
Interface FormDataModelVariablesExtractor
- All Known Implementing Classes:
DataObjectFormDataModelVariablesExtractor
public interface FormDataModelVariablesExtractor
- Author:
- Filip Hrisafov
-
Method Summary
Modifier and TypeMethodDescriptionextractVariableFromFormPayload(FormDataModel formDataModel, Map<String, Object> modifiedData, Map<String, Object> originalData, List<FormVariable> dataModelVariableTypes) Get the variable for theformDataModelfrom the providedmodifiedData.
-
Method Details
-
extractVariableFromFormPayload
Object extractVariableFromFormPayload(FormDataModel formDataModel, Map<String, Object> modifiedData, Map<String, Object> originalData, List<FormVariable> dataModelVariableTypes) Get the variable for theformDataModelfrom the providedmodifiedData. ThemodifiedDatawill contain the transformed data that has been changed in the form request. TheoriginalDatacontains the data before the changes by the submit- Parameters:
formDataModel- The form data model definitionmodifiedData- The transformed modified data from the form payloadoriginalData- The original data before the user changesdataModelVariableTypes-- Returns:
- the parsed variable that should be used
-