Interface ExternalFieldGroup<G extends ExternalFieldGroup<G>>

All Superinterfaces:
Comparable<G>, Component<G>, Copyable<G>, External<G>, FetchEntity<G>, Form<G>, FormComponent<G>, Group<G>, Serializable
All Known Implementing Classes:
DefaultExternalFieldGroup

public interface ExternalFieldGroup<G extends ExternalFieldGroup<G>> extends Group<G>, External<G>, FetchEntity<G>
Renders a group of form components whose values are derived from a separate API from the parent form.

When using this component, a READ endpoint should be configured in the group so that the form component values can be fetched, and an UPDATE endpoint should be configured in the parent form that contains this group component to update the external source or entity.

Since:
Metadata Service 2.0.8, Release Train 2.1.6, 2.2.2
Author:
Julia Lopez-Pozas (jlopezpozas)
  • Method Details

    • useParentFormState

      default G useParentFormState(boolean useParentFormState)
      Indicates that the state for the fields in this group will be backed by the parent form's.
      Parameters:
      useParentFormState - Whether to use the parent form's state
      Returns:
      this
      See Also:
      • ExternalFieldGroup.Attributes.USE_PARENT_FORM_STATE
    • useParentFormState

      default G useParentFormState()
      Convenience method that is the same as treatAsPatch(true).
      Returns:
      this