Class NavigationURLUtils

java.lang.Object
org.exoplatform.portal.webui.util.NavigationURLUtils

public class NavigationURLUtils extends Object
Contains some utility methods to compute URLs of pages
  • Constructor Details

    • NavigationURLUtils

      public NavigationURLUtils()
  • Method Details

    • getURLInCurrentPortal

      public static String getURLInCurrentPortal(String uri)
      Parameters:
      uri -
      Returns:
      URL of the page with selected URI in the current portal
    • getCurrentPortalURL

      public static String getCurrentPortalURL()
      Returns:
      URL of the current portal
    • getPortalURL

      public static String getPortalURL(String portalName, String uri)
      Parameters:
      portalName -
      uri -
      Returns:
      URL of the page with selected URI in the selected portal
    • getURL

      public static String getURL(org.exoplatform.portal.mop.SiteKey siteKey, String uri)
      Parameters:
      siteKey -
      uri -
      Returns:
      URL of the page with selected URI in the selected navigation
    • getURL

      public static String getURL(org.exoplatform.portal.mop.user.UserNode node)
      Parameters:
      node -
      Returns:
      URL of the selected UserNode