public final class GenericSaveFormData extends ASaveFormData
Modifier and Type | Field and Description |
---|---|
static String |
MATCHER_DYNAMIC_FIELD |
aliasFieldMap, dynContainerMap, dynFieldSet, fieldAliasMap, fieldContainerMap, fieldMetaDataMap, fieldNotesRead, fieldNotesUnread, fieldValuesMap, metaDataMap, requestDataMap, sendElements
Constructor and Description |
---|
GenericSaveFormData() |
Modifier and Type | Method and Description |
---|---|
void |
addRequestValue(String fieldName,
List<String> fieldValues) |
String |
getNormName(String fieldName)
For each element, a name is defined in the designer.
|
Set<String> |
getSendElements() |
void |
init(Map<String,List<String>> dataMap) |
void |
init(Map<String,List<String>> dataMap,
List<String> sendElements) |
void |
mergeRequestData(Map<String,List<String>> oldRequestData)
This method is called when a form record exists already and the form was submitted again.
|
void |
removeEmptyContainers() |
addMultiValue, addSingleValue, aliasValue, asStringValue, asStringValue, getAliasFieldMap, getDynContainerMap, getDynFieldSet, getFieldAlias, getFieldAliasMap, getFieldMetaData, getFieldMetaDataMap, getFieldNotesRead, getFieldNotesUnread, getFields, getFieldTyp, getFieldValues, getFieldValuesMap, getIFieldMetaData, getMetaDataMap, getRequestDataMap, getStringValue, hasAlias, hasField, isElementLooped, loopCount, normalizeValue, normalizeValue, normalizeValues, resolveAliasName, resolveDynValueName, resolveFieldAlias, resolveFieldName, resolveFieldType, updateContainerElements, updateValuesMap, valuesMapHasValue
public static final String MATCHER_DYNAMIC_FIELD
public String getNormName(String fieldName)
IFormDataAdapter
getNormName
in interface IFormDataAdapter
getNormName
in class ASaveFormData
fieldName
- A form element that may contain suffixes such as the suffix for repeated elements.public Set<String> getSendElements()
Set
of all elements for which a value was submitted in the (usually POST) request.public void removeEmptyContainers()
public void mergeRequestData(Map<String,List<String>> oldRequestData)
This method modifies the state of this SaveFormData object.
oldRequestData
- A set of form element values to be merged into this form data set.Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.