Package de.espirit.firstspirit.forms
Interface RemoteFormData
- All Superinterfaces:
FormData
Interface definition for form data containers providing remote, generic access to transported values and form
information. It differs from
FormData
in that remote form fields
are provided.- Since:
- 5.0.102
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
Thrown to indicate that a field is not accessible. -
Method Summary
Modifier and TypeMethodDescription@NotNull RemoteFormField<?>
Provides a property container describing the field with the given name.
-
Method Details
-
get
@NotNull @NotNull RemoteFormField<?> get(@Nullable @Nullable Language language, String fieldName) throws NoSuchFormFieldException, RemoteFormData.InaccessibleException Provides a property container describing the field with the given name.
UseFormData.getForm()
.appendEditorNames(null)
to get a list of valid field names. For language indepent fields (GomFormElement#usesLanguages()
delivers false) one can supplynull
for the parameter language.- Specified by:
get
in interfaceFormData
- Parameters:
language
- The language to get the property for ornull
for language independent fields.fieldName
- The name of the field to look up.- Returns:
- The field's property container.
- Throws:
NoSuchFormFieldException
- If there is no entry for the given name.RemoteFormData.InaccessibleException
- If the requested field is not accessible.- Since:
- 5.0.102
-