Class NavigationManagerImpl

    • Constructor Summary

      Constructors 
      Constructor Description
      NavigationManagerImpl​(org.jboss.errai.common.client.api.Caller<org.dashbuilder.navigation.service.NavigationServices> navServices, org.dashbuilder.navigation.workbench.NavSecurityController navController, javax.enterprise.event.Event<NavTreeLoadedEvent> navTreeLoadedEvent, javax.enterprise.event.Event<org.dashbuilder.navigation.event.NavTreeChangedEvent> navTreeChangedEvent, javax.enterprise.event.Event<NavItemGotoEvent> navItemGotoEvent)  
    • Constructor Detail

      • NavigationManagerImpl

        @Inject
        public NavigationManagerImpl​(org.jboss.errai.common.client.api.Caller<org.dashbuilder.navigation.service.NavigationServices> navServices,
                                     org.dashbuilder.navigation.workbench.NavSecurityController navController,
                                     javax.enterprise.event.Event<NavTreeLoadedEvent> navTreeLoadedEvent,
                                     javax.enterprise.event.Event<org.dashbuilder.navigation.event.NavTreeChangedEvent> navTreeChangedEvent,
                                     javax.enterprise.event.Event<NavItemGotoEvent> navItemGotoEvent)
    • Method Detail

      • init

        public void init​(org.uberfire.mvp.Command afterInit)
        Specified by:
        init in interface NavigationManager
      • setDefaultNavTree

        public void setDefaultNavTree​(org.dashbuilder.navigation.NavTree defaultNavTree)
        Specified by:
        setDefaultNavTree in interface NavigationManager
      • saveNavTree

        public void saveNavTree​(org.dashbuilder.navigation.NavTree newTree,
                                org.uberfire.mvp.Command afterSave)
        Specified by:
        saveNavTree in interface NavigationManager
      • secure

        public org.dashbuilder.navigation.NavTree secure​(org.dashbuilder.navigation.NavTree navTree,
                                                         boolean removeEmptyGroups)
        Specified by:
        secure in interface NavigationManager
      • secure

        public void secure​(List<org.dashbuilder.navigation.NavItem> itemList,
                           boolean removeEmptyGroups)
        Specified by:
        secure in interface NavigationManager
      • navItemClicked

        public void navItemClicked​(org.dashbuilder.navigation.NavItem navItem)
        Specified by:
        navItemClicked in interface NavigationManager
      • update

        public void update​(org.dashbuilder.navigation.NavTree navTree)
        Specified by:
        update in interface NavigationManager