Interface EntityGridView<V extends EntityGridView<V>>

    • Method Detail

      • addCreateAction

        default V addCreateAction​(LinkAction<?> action)
      • createLink

        default V createLink​(Link createLink)
      • createLinkById

        default V createLinkById​(String componentId)
      • createLabel

        default V createLabel​(String label)
      • createScope

        default V createScope​(String scope)
      • getCreateAction

        default LinkAction<?> getCreateAction()
      • addCloneAction

        default V addCloneAction​(CloneModalFormAction<?> action)
        Configures this grid with a row-level action that provides the ability to "clone" the entity. The use of this action will result in a modal form being provided with any fields configured on the action. This form is typically used so that a user has the opportunity to change up a limited set of properties on the cloned entity.
        Parameters:
        action - the clone action
        Returns:
        this
      • cloneAction

        default V cloneAction​(UnaryOperator<CloneModalFormAction<?>> fn)
        Configures this grid with a row-level action that provides the ability to "clone" the entity. The use of this action will result in a modal form being provided with any fields configured on the action. This form is typically used so that a user has the opportunity to change up a limited set of properties on the cloned entity.
        Parameters:
        fn - a function that configures the action
        Returns:
        this
      • getCloneAction

        default CloneModalFormAction<?> getCloneAction()
        Returns the clone action on this grid.
        Returns:
        the clone action, if it exists
      • findCloneAction

        default Optional<CloneModalFormAction<?>> findCloneAction()
        Finds the clone action on this grid.
        Returns:
        an optional with the clone action, if it exists, or empty