Examples of loadNavigation()


Examples of org.exoplatform.portal.mop.navigation.NavigationService.loadNavigation()

            SiteKey siteKey = pageNodeEvent.getSiteKey();
            if (siteKey != null) {
                if (pcontext.getRemoteUser() == null
                        && (siteKey.getType().equals(SiteType.GROUP) || siteKey.getType().equals(SiteType.USER))) {
                    NavigationService service = uiPortalApp.getApplicationComponent(NavigationService.class);
                    NavigationContext navContext = service.loadNavigation(siteKey);
                    if (navContext != null) {
                        uiPortalApp.setLastRequestNavData(null);
                        pcontext.requestAuthenticationLogin();
                        return;
                    }
View Full Code Here

Examples of org.exoplatform.portal.mop.navigation.NavigationService.loadNavigation()

      deletedNavigationGroups.add(group.getId());
      for (String childGroup : deletedNavigationGroups)
      {
         SiteKey key = SiteKey.group(childGroup);
         NavigationService navService = portalConfigService.getNavigationService();
         NavigationContext nav = navService.loadNavigation(key);
         if (nav != null)
         {
            navService.destroyNavigation(nav);
         }
      }
View Full Code Here

Examples of org.exoplatform.portal.mop.navigation.NavigationService.loadNavigation()

   {
      SiteKey siteKey = getSiteKey(defaultNavigation.getSite());
      String navUri = operationContext.getAddress().resolvePathTemplate("nav-uri");

      NavigationService navigationService = operationContext.getRuntimeContext().getRuntimeComponent(NavigationService.class);
      NavigationContext navigation = navigationService.loadNavigation(siteKey);

      Set<String> children = new LinkedHashSet<String>();

      NodeContext<NodeContext<?>> node = NavigationUtils.loadNode(navigationService, navigation, navUri);
      if (node == null)
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.