Interface Tree<T extends Tree<T>>

    • Method Detail

      • ancestorsListKey

        default T ancestorsListKey​(String ancestorsListKey)
      • itemDisplayNameKey

        default T itemDisplayNameKey​(String itemDisplayNameKey)
      • itemIdKey

        default T itemIdKey​(String itemIdKey)
      • itemParentIdKey

        default T itemParentIdKey​(String itemParentIdKey)
      • itemTypeLabel

        default T itemTypeLabel​(String itemTypeLabelKey)
      • readRootItemsEndpoint

        default T readRootItemsEndpoint​(Endpoint<?> endpoint)
      • getReadRootItemsEndpoint

        default Endpoint<?> getReadRootItemsEndpoint()
      • readRootItemsUrl

        default T readRootItemsUrl​(String url)
      • readRootItemsScope

        default T readRootItemsScope​(String scope)
      • readRootItemsUrl

        default T readRootItemsUrl​(String url,
                                   String scope)
      • readChildrenItemsEndpoint

        default T readChildrenItemsEndpoint​(Endpoint<?> endpoint)
      • getReadChildrenItemsEndpoint

        default Endpoint<?> getReadChildrenItemsEndpoint()
      • readChildrenItemsUrl

        default T readChildrenItemsUrl​(String url)
      • readChildrenItemsScope

        default T readChildrenItemsScope​(String scope)
      • readChildrenItemsUrl

        default T readChildrenItemsUrl​(String url,
                                       String scope)
      • readItemEndpoint

        default T readItemEndpoint​(Endpoint<?> endpoint)
      • getReadItemEndpoint

        default Endpoint<?> getReadItemEndpoint()
      • readItemUrl

        default T readItemUrl​(String url)
      • readItemScope

        default T readItemScope​(String scope)
      • readItemUrl

        default T readItemUrl​(String url,
                              String scope)
      • readGridItemsEndpoint

        default T readGridItemsEndpoint​(PageableEndpoint<?> endpoint)
      • getReadGridItemsEndpoint

        default PageableEndpoint<?> getReadGridItemsEndpoint()
      • readGridItemsUrl

        default T readGridItemsUrl​(String url)
      • readGridItemsScope

        default T readGridItemsScope​(String scope)
      • readGridItemsUrl

        default T readGridItemsUrl​(String url,
                                   String scope)
      • readAncestorsEndpoint

        default T readAncestorsEndpoint​(Endpoint<?> endpoint)
      • getReadAncestorsEndpoint

        default Endpoint<?> getReadAncestorsEndpoint()
      • readAncestorsUrl

        default T readAncestorsUrl​(String url)
      • readAncestorsScope

        default T readAncestorsScope​(String scope)
      • readAncestorsUrl

        default T readAncestorsUrl​(String url,
                                   String scope)
      • createItemEndpoint

        default T createItemEndpoint​(Endpoint<?> endpoint)
      • getCreateItemEndpoint

        default Endpoint<?> getCreateItemEndpoint()
      • createItemUrl

        default T createItemUrl​(String url)
      • createItemScope

        default T createItemScope​(String scope)
      • createItemUrl

        default T createItemUrl​(String url,
                                String scope)
      • updateItemEndpoint

        default T updateItemEndpoint​(Endpoint<?> endpoint)
      • getUpdateItemEndpoint

        default Endpoint<?> getUpdateItemEndpoint()
      • updateItemUrl

        default T updateItemUrl​(String url)
      • updateItemScope

        default T updateItemScope​(String scope)
      • updateItemUrl

        default T updateItemUrl​(String url,
                                String scope)
      • deleteItemEndpoint

        default T deleteItemEndpoint​(Endpoint<?> endpoint)
      • getDeleteItemEndpoint

        default Endpoint<?> getDeleteItemEndpoint()
      • deleteItemUrl

        default T deleteItemUrl​(String url)
      • deleteItemScope

        default T deleteItemScope​(String scope)
      • deleteItemUrl

        default T deleteItemUrl​(String url,
                                String scope)
      • updateTranslationsEndpoint

        default T updateTranslationsEndpoint​(Endpoint<?> endpoint)
      • getUpdateTranslationsEndpoint

        default Endpoint<?> getUpdateTranslationsEndpoint()
      • updateTranslationsUrl

        default T updateTranslationsUrl​(String url)
      • updateTranslationsScope

        default T updateTranslationsScope​(String scope)
      • updateTranslationsUrl

        default T updateTranslationsUrl​(String url,
                                        String scope)
      • addCreateForm

        default T addCreateForm​(FormView<?> form)
      • getCreateForm

        default FormView<?> getCreateForm()
      • addUpdateForm

        default T addUpdateForm​(String id,
                                FormView<?> form)
      • addSecondaryAction

        default T addSecondaryAction​(Action<?> action)
        Adds a configured Action to display in a secondary position on the TreeView. Secondary actions will appear in the dropdowns of tree view navigator items and the editor breadcrumbs. The Action.getType() must be set.
        Parameters:
        action - The configured Action
        Returns:
        this
      • addSecondaryAction

        default T addSecondaryAction​(String type,
                                     Action<?> action)
        Adds a configured Action to display in a secondary position on the TreeView. Secondary actions will appear in the dropdowns of tree view navigator items and the editor breadcrumbs.
        Parameters:
        type - The type of the action. See Tree.ActionTypes
        action - The configured Action
        Returns:
        this
      • getSecondaryAction

        default Action<?> getSecondaryAction​(String type)
        Finds the secondary action matching the given type. Expects the action to be present.
        Parameters:
        type - The type of the action. See Tree.ActionTypes
        Returns:
        the requested action
        Throws:
        IllegalArgumentException - if the action is not found
      • addGlobalAction

        default T addGlobalAction​(Action<?> action)
        Adds a configured Action to display in a global position on the TreeView. Global actions are usually visible via a dropdown in the TreeView Navigator title bar near the "add" and "search" actions. The Action.getType() must be set.
        Parameters:
        action - The configured Action
        Returns:
        this
      • addGlobalAction

        default T addGlobalAction​(String type,
                                  Action<?> action)
        Adds a configured Action to display in a global position on the TreeView. Global actions are usually visible via a dropdown in the TreeView Navigator title bar near the "add" and "search" actions. The Action.getType() must be set.
        Parameters:
        type - The type of the action. See Tree.ActionTypes
        action - The configured Action
        Returns:
        this
      • getGlobalAction

        default Action<?> getGlobalAction​(String type)
        Finds the global action matching the given type. Expects the action to be present.
        Parameters:
        type - The type of the action. See Tree.ActionTypes
        Returns:
        the requested action
        Throws:
        IllegalArgumentException - if the action is not found
      • pageSize

        default T pageSize​(int pageSize)