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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classThrown 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 supplynullfor the parameter language.- Specified by:
getin interfaceFormData- Parameters:
language- The language to get the property for ornullfor 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
-