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.PortalURL
public String getRenderPath()
getRenderPath
in interface org.apache.pluto.driver.url.PortalURL
public void addParameter(org.apache.pluto.driver.url.PortalURLParameter param)
addParameter
in interface org.apache.pluto.driver.url.PortalURL
public Collection<org.apache.pluto.driver.url.PortalURLParameter> getParameters()
getParameters
in interface org.apache.pluto.driver.url.PortalURL
public void setActionWindow(String actionWindow)
setActionWindow
in interface org.apache.pluto.driver.url.PortalURL
public String getActionWindow()
getActionWindow
in interface org.apache.pluto.driver.url.PortalURL
public Map<String,javax.portlet.PortletMode> getPortletModes()
getPortletModes
in interface org.apache.pluto.driver.url.PortalURL
public javax.portlet.PortletMode getPortletMode(String windowId)
getPortletMode
in interface org.apache.pluto.driver.url.PortalURL
public void setPortletMode(String windowId, javax.portlet.PortletMode portletMode)
setPortletMode
in interface org.apache.pluto.driver.url.PortalURL
public Map<String,javax.portlet.WindowState> getWindowStates()
getWindowStates
in interface org.apache.pluto.driver.url.PortalURL
public javax.portlet.WindowState getWindowState(String windowId)
getWindowState
in interface org.apache.pluto.driver.url.PortalURL
windowId
- the window ID.public void setWindowState(String windowId, javax.portlet.WindowState windowState)
setWindowState
in interface org.apache.pluto.driver.url.PortalURL
windowId
- the window ID.windowState
- the window state.public void clearParameters(String windowId)
clearParameters
in interface org.apache.pluto.driver.url.PortalURL
windowId
- the window ID.public void setCacheability(String cacheLevel)
setCacheability
in interface org.apache.pluto.driver.url.PortalURL
public String getCacheability()
getCacheability
in interface org.apache.pluto.driver.url.PortalURL
public void setResourceID(String resourceID)
setResourceID
in interface org.apache.pluto.driver.url.PortalURL
public String getResourceID()
getResourceID
in interface org.apache.pluto.driver.url.PortalURL
public void setLutecePortletId(String strLutecePortletID)
public String getLutecePortletId()
public String toString()
toString
in interface org.apache.pluto.driver.url.PortalURL
toString
in class Object
PortalURLParserImpl.toString(org.apache.pluto.driver.url.PortalURL)
public String toURL(boolean absolute)
toURL
in interface org.apache.pluto.driver.url.PortalURL
PortalURLParserImpl.toString(org.apache.pluto.driver.url.PortalURL)
@Deprecated public String getServerURI()
getServerURI
in interface org.apache.pluto.driver.url.PortalURL
public String getServletPath()
getServletPath
in interface org.apache.pluto.driver.url.PortalURL
public org.apache.pluto.driver.url.PortalURL clone()
public void addPublicRenderParametersNew(Map<String,String[]> parameters)
addPublicRenderParametersNew
in interface org.apache.pluto.driver.url.PortalURL
public void addPublicParameterCurrent(String name, String[] values)
addPublicParameterCurrent
in interface org.apache.pluto.driver.url.PortalURL
public void addPublicParameterActionResourceParameter(String parameterName, String value)
addPublicParameterActionResourceParameter
in interface org.apache.pluto.driver.url.PortalURL
public Map<String,String[]> getPublicParameters()
getPublicParameters
in interface org.apache.pluto.driver.url.PortalURL
public Map<String,String[]> getNewPublicParameters()
getNewPublicParameters
in interface org.apache.pluto.driver.url.PortalURL
public Map<String,String[]> getPrivateRenderParameters()
getPrivateRenderParameters
in interface org.apache.pluto.driver.url.PortalURL
public org.apache.pluto.driver.services.portal.PageConfig getPageConfig(javax.servlet.ServletContext servletContext)
getPageConfig
in interface org.apache.pluto.driver.url.PortalURL
public String getResourceWindow()
getResourceWindow
in interface org.apache.pluto.driver.url.PortalURL
public void setResourceWindow(String resourceWindow)
setResourceWindow
in interface org.apache.pluto.driver.url.PortalURL
public void merge(org.apache.pluto.driver.url.PortalURL url, String windowId)
merge
in interface org.apache.pluto.driver.url.PortalURL
Copyright © 2016 Mairie de Paris. All Rights Reserved.