Interface FormModel

All Known Implementing Classes:
FormModelImpl

public interface FormModel
  • Method Details

    • getFormIds

      List<FormModel.FormId> getFormIds()
      Returns the FormModel.FormId of all available forms.
    • retrieveForm

      Optional<Form> retrieveForm(String baseName, FormScope scope)
      Returns a form based on baseName and scope. It will look for fallback forms if the explicitly specified one is not available. (e.g. it will return "User", DETAIL if you try to retrieve "User", CREATE as user does not have an explicit CREATE form.
    • onReload

      void onReload()
    • createFormBuilder

      FormBuilder createFormBuilder(EntityModel entityModel, String name)