org.exoplatform.platform.webui
Class NavigationURLUtils
java.lang.Object
org.exoplatform.platform.webui.NavigationURLUtils
public class NavigationURLUtils
- extends Object
Contains some utility methods to compute URLs of pages
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NavigationURLUtils
public NavigationURLUtils()
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 © 2013 eXo Platform SAS. All Rights Reserved.