public class PortalURL
extends java.lang.Object
Constructor and Description |
---|
PortalURL(javax.servlet.http.HttpServletRequest request)
Creates and URL pointing to the home of the portal
|
PortalURL(javax.servlet.http.HttpServletRequest request,
Fragment pointTo)
Creates and URL pointing to the given fragment of the portal
|
PortalURL(PortalEnvironment env)
Creates and URL pointing to the home of the portal
|
PortalURL(PortalEnvironment env,
Fragment pointTo)
Creates and URL pointing to the given fragment of the portal
|
Modifier and Type | Method and Description |
---|---|
void |
addGlobalNavigation(java.lang.String nav)
Adds a navigational information pointing to a portal part, e.g.
|
void |
addLocalNavigation(java.lang.String nav)
Adds a navigational information pointing to a local portal part inside
of a global portal part, for example, a portlet on a page.
|
void |
clearRenderParameters(org.apache.pluto.om.window.PortletWindow portletWindow) |
java.lang.String |
getBasePortalURL(javax.servlet.http.HttpServletRequest request)
Creates and URL pointing to the home of the portal
|
java.lang.String |
getBasePortalURL(PortalEnvironment env)
Creates and URL pointing to the home of the portal
|
java.lang.String |
getControlParameterAsString(PortalControlParameter controlParam) |
java.lang.String |
getGlobalNavigationAsString() |
java.lang.String |
getLocalNavigationAsString() |
java.lang.String |
getRequestParameterAsString(PortalControlParameter controlParam) |
boolean |
isPartOfGlobalNavigation(java.lang.String nav)
Returns true if the given string is part of the global navigation of this URL
|
boolean |
isPartOfLocalNavigation(java.lang.String nav)
Returns true if the given string is part of the local navigation of this URL
|
void |
setLocalNavigation()
Sets the local navigation.
|
void |
setRenderParameter(org.apache.pluto.om.window.PortletWindow portletWindow,
java.lang.String name,
java.lang.String[] values) |
java.lang.String |
toString() |
java.lang.String |
toString(PortalControlParameter controlParam,
java.lang.Boolean p_secure) |
public PortalURL(PortalEnvironment env)
env
- the portal environmentpublic PortalURL(javax.servlet.http.HttpServletRequest request)
request
- the servlet requestpublic PortalURL(javax.servlet.http.HttpServletRequest request, Fragment pointTo)
request
- the servlet requestpointTo
- the fragment to point topublic PortalURL(PortalEnvironment env, Fragment pointTo)
env
- the portal environmentpointTo
- the fragment to point topublic java.lang.String getBasePortalURL(javax.servlet.http.HttpServletRequest request)
request
- the servlet requestpublic java.lang.String getBasePortalURL(PortalEnvironment env)
env
- the portal environmentpublic void addGlobalNavigation(java.lang.String nav)
nav
- the string pointing to a portal partpublic void setLocalNavigation()
public void addLocalNavigation(java.lang.String nav)
nav
- the string pointing to a local portal partpublic boolean isPartOfGlobalNavigation(java.lang.String nav)
nav
- the string to checkpublic boolean isPartOfLocalNavigation(java.lang.String nav)
nav
- the string to checkpublic java.lang.String getGlobalNavigationAsString()
public java.lang.String getLocalNavigationAsString()
public java.lang.String getControlParameterAsString(PortalControlParameter controlParam)
public java.lang.String getRequestParameterAsString(PortalControlParameter controlParam)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(PortalControlParameter controlParam, java.lang.Boolean p_secure)
public void setRenderParameter(org.apache.pluto.om.window.PortletWindow portletWindow, java.lang.String name, java.lang.String[] values)
public void clearRenderParameters(org.apache.pluto.om.window.PortletWindow portletWindow)
Copyright © 2003-2013 . All Rights Reserved.