| Constructor and Description |
|---|
RelativePortalURLImpl(String urlBase,
String contextPath,
String servletName,
org.apache.pluto.driver.url.PortalURLParser urlParser)
Constructs a PortalURLImpl instance using customized port.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addParameter(org.apache.pluto.driver.url.PortalURLParameter param) |
void |
addPublicParameterActionResourceParameter(String parameterName,
String value) |
void |
addPublicParameterCurrent(String name,
String[] values) |
void |
addPublicRenderParametersNew(Map<String,String[]> parameters) |
void |
clearParameters(String windowId)
Clear parameters of the specified window.
|
org.apache.pluto.driver.url.PortalURL |
clone()
Clone a copy of itself.
|
String |
getActionWindow() |
String |
getCacheability() |
String |
getLutecePortletId() |
Map<String,String[]> |
getNewPublicParameters() |
org.apache.pluto.driver.services.portal.PageConfig |
getPageConfig(javax.servlet.ServletContext servletContext) |
Collection<org.apache.pluto.driver.url.PortalURLParameter> |
getParameters() |
javax.portlet.PortletMode |
getPortletMode(String windowId) |
Map<String,javax.portlet.PortletMode> |
getPortletModes() |
Map<String,String[]> |
getPrivateRenderParameters() |
Map<String,String[]> |
getPublicParameters() |
String |
getRenderPath() |
String |
getResourceID() |
String |
getResourceWindow() |
String |
getServerURI()
Deprecated.
|
String |
getServletPath()
Returns the servlet path (context path + servlet name).
|
javax.portlet.WindowState |
getWindowState(String windowId)
Returns the window state of the specified window.
|
Map<String,javax.portlet.WindowState> |
getWindowStates() |
void |
merge(org.apache.pluto.driver.url.PortalURL url,
String windowId) |
void |
setActionWindow(String actionWindow) |
void |
setCacheability(String cacheLevel) |
void |
setLutecePortletId(String strLutecePortletID) |
void |
setPortletMode(String windowId,
javax.portlet.PortletMode portletMode) |
void |
setRenderPath(String renderPath) |
void |
setResourceID(String resourceID) |
void |
setResourceWindow(String resourceWindow) |
void |
setWindowState(String windowId,
javax.portlet.WindowState windowState)
Sets the window state of the specified window.
|
String |
toString()
Deprecated.
use toURL(boolean absolute) instead
|
String |
toURL(boolean absolute)
Converts to a string representing the portal URL.
|
public RelativePortalURLImpl(String urlBase, String contextPath, String servletName, org.apache.pluto.driver.url.PortalURLParser urlParser)
urlBase - the absolute (protocol://domain:port) request url basecontextPath - the servlet context path.servletName - the servlet name.urlParser - the PortalURLParser used to construct a string representation of the url.public void setRenderPath(String renderPath)
setRenderPath in interface org.apache.pluto.driver.url.PortalURLpublic String getRenderPath()
getRenderPath in interface org.apache.pluto.driver.url.PortalURLpublic void addParameter(org.apache.pluto.driver.url.PortalURLParameter param)
addParameter in interface org.apache.pluto.driver.url.PortalURLpublic Collection<org.apache.pluto.driver.url.PortalURLParameter> getParameters()
getParameters in interface org.apache.pluto.driver.url.PortalURLpublic void setActionWindow(String actionWindow)
setActionWindow in interface org.apache.pluto.driver.url.PortalURLpublic String getActionWindow()
getActionWindow in interface org.apache.pluto.driver.url.PortalURLpublic Map<String,javax.portlet.PortletMode> getPortletModes()
getPortletModes in interface org.apache.pluto.driver.url.PortalURLpublic javax.portlet.PortletMode getPortletMode(String windowId)
getPortletMode in interface org.apache.pluto.driver.url.PortalURLpublic void setPortletMode(String windowId, javax.portlet.PortletMode portletMode)
setPortletMode in interface org.apache.pluto.driver.url.PortalURLpublic Map<String,javax.portlet.WindowState> getWindowStates()
getWindowStates in interface org.apache.pluto.driver.url.PortalURLpublic javax.portlet.WindowState getWindowState(String windowId)
getWindowState in interface org.apache.pluto.driver.url.PortalURLwindowId - the window ID.public void setWindowState(String windowId, javax.portlet.WindowState windowState)
setWindowState in interface org.apache.pluto.driver.url.PortalURLwindowId - the window ID.windowState - the window state.public void clearParameters(String windowId)
clearParameters in interface org.apache.pluto.driver.url.PortalURLwindowId - the window ID.public void setCacheability(String cacheLevel)
setCacheability in interface org.apache.pluto.driver.url.PortalURLpublic String getCacheability()
getCacheability in interface org.apache.pluto.driver.url.PortalURLpublic void setResourceID(String resourceID)
setResourceID in interface org.apache.pluto.driver.url.PortalURLpublic String getResourceID()
getResourceID in interface org.apache.pluto.driver.url.PortalURLpublic void setLutecePortletId(String strLutecePortletID)
public String getLutecePortletId()
public String toString()
toString in interface org.apache.pluto.driver.url.PortalURLtoString in class ObjectPortalURLParserImpl.toString(org.apache.pluto.driver.url.PortalURL)public String toURL(boolean absolute)
toURL in interface org.apache.pluto.driver.url.PortalURLPortalURLParserImpl.toString(org.apache.pluto.driver.url.PortalURL)@Deprecated public String getServerURI()
getServerURI in interface org.apache.pluto.driver.url.PortalURLpublic String getServletPath()
getServletPath in interface org.apache.pluto.driver.url.PortalURLpublic org.apache.pluto.driver.url.PortalURL clone()
public void addPublicRenderParametersNew(Map<String,String[]> parameters)
addPublicRenderParametersNew in interface org.apache.pluto.driver.url.PortalURLpublic void addPublicParameterCurrent(String name, String[] values)
addPublicParameterCurrent in interface org.apache.pluto.driver.url.PortalURLpublic void addPublicParameterActionResourceParameter(String parameterName, String value)
addPublicParameterActionResourceParameter in interface org.apache.pluto.driver.url.PortalURLpublic Map<String,String[]> getPublicParameters()
getPublicParameters in interface org.apache.pluto.driver.url.PortalURLpublic Map<String,String[]> getNewPublicParameters()
getNewPublicParameters in interface org.apache.pluto.driver.url.PortalURLpublic Map<String,String[]> getPrivateRenderParameters()
getPrivateRenderParameters in interface org.apache.pluto.driver.url.PortalURLpublic org.apache.pluto.driver.services.portal.PageConfig getPageConfig(javax.servlet.ServletContext servletContext)
getPageConfig in interface org.apache.pluto.driver.url.PortalURLpublic String getResourceWindow()
getResourceWindow in interface org.apache.pluto.driver.url.PortalURLpublic void setResourceWindow(String resourceWindow)
setResourceWindow in interface org.apache.pluto.driver.url.PortalURLpublic void merge(org.apache.pluto.driver.url.PortalURL url,
String windowId)
merge in interface org.apache.pluto.driver.url.PortalURLCopyright © 2016 Mairie de Paris. All Rights Reserved.