Interface ResourceGrid<G extends ResourceGrid<G>>

    • Method Detail

      • assignLabel

        default G assignLabel​(String labelKey)
      • assignEndpoint

        default G assignEndpoint​(Endpoint<?> endpoint)
      • assignUrl

        default G assignUrl​(String url)
      • assignScope

        default G assignScope​(String scope)
      • getAssignEndpoint

        default Endpoint<?> getAssignEndpoint()
      • createLabel

        default G createLabel​(String labelKey)
      • createEndpoint

        default G createEndpoint​(Endpoint<?> endpoint)
      • createUrl

        default G createUrl​(String url)
      • createScope

        default G createScope​(String scope)
      • getCreateEndpoint

        default Endpoint<?> getCreateEndpoint()
      • addDeleteAction

        default G addDeleteAction​(Action<?> deleteAction)
      • deleteLabel

        default G deleteLabel​(String labelKey)
      • getDeleteAction

        default Action<?> getDeleteAction()
      • deleteEndpoint

        default G deleteEndpoint​(Endpoint<?> endpoint)
      • deleteUrl

        default G deleteUrl​(String url)
      • deleteScope

        default G deleteScope​(String scope)
      • getDeleteEndpoint

        default Endpoint<?> getDeleteEndpoint()
      • addUpdateAction

        default G addUpdateAction​(ModalFormAction<?> updateAction)
      • updateLabel

        default G updateLabel​(String labelKey)
      • updateEndpoint

        default G updateEndpoint​(Endpoint<?> endpoint)
      • updateUrl

        default G updateUrl​(String url)
      • updateScope

        default G updateScope​(String scope)
      • getUpdateEndpoint

        default Endpoint<?> getUpdateEndpoint()
      • updateTranslationsEndpoint

        default G updateTranslationsEndpoint​(Endpoint<?> endpoint)
      • updateTranslationsUrl

        default G updateTranslationsUrl​(String url)
      • updateTranslationsScope

        default G updateTranslationsScope​(String scope)
      • updateTranslationsUrl

        default G updateTranslationsUrl​(String url,
                                        String scope)
      • getUpdateTranslationsEndpoint

        default Endpoint<?> getUpdateTranslationsEndpoint()
      • findUpdateTranslationsEndpoint

        default Optional<Endpoint<?>> findUpdateTranslationsEndpoint()
      • addViewReadOnlyAction

        default G addViewReadOnlyAction​(FormAction<?> viewReadOnlyAction)
        Adds a ActionGrid.ActionPlacements.ROW action that allows a user to view the details of the row in a read-only form. This is generally used when a row is not editable yet there is a need to present the details of the row.
        Parameters:
        viewReadOnlyAction - the action to add
        Returns:
        this
      • viewReadOnlyAction

        default G viewReadOnlyAction​(UnaryOperator<FormAction<?>> fn)
        Configure the ActionGrid.ActionPlacements.ROW action that allows a user to view the details of the row in a read-only form. This is generally used when a row is not editable yet there is a need to present the details of the row.
        Parameters:
        fn - a function to configure the read-only form
        Returns:
        this
      • viewReadOnlyLabel

        default G viewReadOnlyLabel​(String labelKey)
        Shortcut for setting the label of the read-only action.
        Parameters:
        labelKey - the label or label message key
        Returns:
        this
      • getViewReadOnlyAction

        default FormAction<?> getViewReadOnlyAction()
        Returns:
        the read-only action if it exists
      • findViewReadOnlyAction

        default Optional<FormAction<?>> findViewReadOnlyAction()
        Returns:
        an optional with the read-only action, or empty
      • getRowFormAction

        default RowModalFormAction<?> getRowFormAction​(String id)
        Parameters:
        id - the id that discriminates this row form action from siblings
        Returns:
        the row form action if it exists
      • findRowFormAction

        default Optional<RowModalFormAction<?>> findRowFormAction​(String id)
        Parameters:
        id - the id that discriminates this row form action from siblings
        Returns:
        an optional with the row form action, or empty