Interface CreateEntityView<V extends CreateEntityView<V>>

    • Method Detail

      • redirectToBackOnCreate

        default V redirectToBackOnCreate()
        Configure this create view to redirect back rather than to the update view after a successful create request. This is typically used by views that either do not have an update view, or may not have an update view available for some time.
        Returns:
        this
      • redirectToUpdateOnCreate

        default V redirectToUpdateOnCreate()
        Configure this create view to redirect to the update view. This is the default behavior, and this method is typically only used when modifying an existing view that already used redirectToBackOnCreate()
        Returns:
        this
      • updateLink

        default V updateLink​(Link link)
        Configures the link to the update view so that on a successful create the user will be redirected to the newly created item's update view.
        Parameters:
        link - the link to the update view
        Returns:
        this
      • updateLinkById

        default V updateLinkById​(String componentId)
        Configures the link by ID to the update view so that on a successful create the user will be redirected to the newly created item's update view.
        Parameters:
        componentId - the componentId of the update view's route
        Returns:
        this
      • updateLinkByPath

        default V updateLinkByPath​(String path)
        Configures the link by path to the update view so that on a successful create the user will be redirected to the newly created item's update view.
        Parameters:
        path - the path to the update view
        Returns:
        this
      • addSubmitAction

        default V addSubmitAction​(Action<?> action)
      • submitAction

        default V submitAction​(Action<?> action)
      • getSubmitAction

        default Action<?> getSubmitAction()
      • submitLabel

        default V submitLabel​(String label)
      • submitEndpoint

        default V submitEndpoint​(Endpoint<?> endpoint)
      • getSubmitEndpoint

        default Endpoint<?> getSubmitEndpoint()
      • submitUrl

        default V submitUrl​(String url)
      • submitScope

        default V submitScope​(String scope)