Interface DefaultPerspectiveResolver

    • Method Detail

      • getPermittedPerspectives

        @Deprecated(since="6.5",
                    forRemoval=true)
        default java.util.List<NavigationNode> getPermittedPerspectives​(NavigationTree navigationTree)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 6.5, allowed perspectives configuration has been moved to View Switcher widget
        Returns all permitted perspectives.

        To allow chaining, a DefaultPerspectiveResolver implementation should return null or empty list when a permitted perspectives cannot be found.

        Parameters:
        navigationTree - full navigation tree containing perspective, from which a permitted one should be picked
        Returns:
        the list of permitted NavigationNode, or empty list if not found
        See Also:
        AuthorityGroupDefaultPerspectiveResolver, ViewSwitcherWidgetController.filterPossibleWidgets(List)
      • formTree

        @Deprecated(since="6.7",
                    forRemoval=true)
        default NavigationTree formTree​(java.util.Collection<? extends ActionDefinition> actions)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Goes through all provided actions and forms then in the shape of navigation action tree.
        Specified by:
        formTree in interface ActionsResolver
        Parameters:
        actions - actions to be formed
        Returns:
        navigation tree
      • formTree

        default NavigationTree formTree​(java.util.Collection<? extends ActionDefinition> actions,
                                        WidgetInstanceManager widgetInstanceManager)
        Goes through all provided actions and forms then in the shape of navigation action tree.
        Specified by:
        formTree in interface ActionsResolver
        Parameters:
        actions - actions to be formed
        widgetInstanceManager - widget instance manager
        Returns:
        navigation tree