org.exoplatform.platform.webui
Class NavigationURLUtils

java.lang.Object
  extended by org.exoplatform.platform.webui.NavigationURLUtils

public class NavigationURLUtils
extends Object

Contains some utility methods to compute URLs of pages


Constructor Summary
NavigationURLUtils()
           
 
Method Summary
static String getCurrentPortalURL()
           
static String getPortalURL(String portalName, String uri)
           
static String getURL(org.exoplatform.portal.mop.SiteKey siteKey, String uri)
           
static String getURL(org.exoplatform.portal.mop.user.UserNode node)
           
static String getURLInCurrentPortal(String uri)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NavigationURLUtils

public NavigationURLUtils()
Method Detail

getURLInCurrentPortal

public static String getURLInCurrentPortal(String uri)
Parameters:
url -
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 -
url -
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 -
url -
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


Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.