|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pluto.driver.url.impl.RelativePortalURLImpl
public class RelativePortalURLImpl
The portal URL.
Constructor Summary | |
---|---|
RelativePortalURLImpl(String contextPath,
String servletName,
PortalURLParser urlParser)
Constructs a PortalURLImpl instance using customized port. |
Method Summary | |
---|---|
void |
addParameter(PortalURLParameter param)
|
void |
addPublicParameterCurrent(String name,
String[] values)
|
void |
addPublicRenderParametersNew(Map parameters)
|
void |
clearParameters(String windowId)
Clear parameters of the specified window. |
Object |
clone()
Clone a copy of itself. |
String |
getActionWindow()
|
PageConfig |
getPageConfig(javax.servlet.ServletContext servletContext)
|
Collection |
getParameters()
|
PortletMode |
getPortletMode(String windowId)
|
Map |
getPortletModes()
|
Map<String,String[]> |
getPublicParameters()
|
String |
getRenderPath()
|
String |
getResourceWindow()
|
String |
getServerURI()
Deprecated. |
String |
getServletPath()
Returns the servlet path (context path + servlet name). |
WindowState |
getWindowState(String windowId)
Returns the window state of the specified window. |
Map |
getWindowStates()
|
void |
setActionWindow(String actionWindow)
|
void |
setPortletMode(String windowId,
PortletMode portletMode)
|
void |
setRenderPath(String renderPath)
|
void |
setResourceWindow(String resourceWindow)
|
void |
setWindowState(String windowId,
WindowState windowState)
Sets the window state of the specified window. |
String |
toString()
Converts to a string representing the portal URL. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RelativePortalURLImpl(String contextPath, String servletName, PortalURLParser urlParser)
contextPath
- the servlet context path.servletName
- the servlet name.urlParser
- the PortalURLParser
used to construct a string representation of the url.Method Detail |
---|
public void setRenderPath(String renderPath)
setRenderPath
in interface PortalURL
public String getRenderPath()
getRenderPath
in interface PortalURL
public void addParameter(PortalURLParameter param)
addParameter
in interface PortalURL
public Collection getParameters()
getParameters
in interface PortalURL
public void setActionWindow(String actionWindow)
setActionWindow
in interface PortalURL
public String getActionWindow()
getActionWindow
in interface PortalURL
public Map getPortletModes()
getPortletModes
in interface PortalURL
public PortletMode getPortletMode(String windowId)
getPortletMode
in interface PortalURL
public void setPortletMode(String windowId, PortletMode portletMode)
setPortletMode
in interface PortalURL
public Map getWindowStates()
getWindowStates
in interface PortalURL
public WindowState getWindowState(String windowId)
getWindowState
in interface PortalURL
windowId
- the window ID.
public void setWindowState(String windowId, WindowState windowState)
setWindowState
in interface PortalURL
windowId
- the window ID.windowState
- the window state.public void clearParameters(String windowId)
clearParameters
in interface PortalURL
windowId
- the window ID.public String toString()
toString
in interface PortalURL
toString
in class Object
PortalURLParserImpl.toString(org.apache.pluto.driver.url.PortalURL)
public String getServerURI()
getServerURI
in interface PortalURL
public String getServletPath()
getServletPath
in interface PortalURL
public Object clone()
clone
in interface PortalURL
clone
in class Object
public void addPublicRenderParametersNew(Map parameters)
addPublicRenderParametersNew
in interface PortalURL
public void addPublicParameterCurrent(String name, String[] values)
addPublicParameterCurrent
in interface PortalURL
public Map<String,String[]> getPublicParameters()
getPublicParameters
in interface PortalURL
public PageConfig getPageConfig(javax.servlet.ServletContext servletContext)
getPageConfig
in interface PortalURL
public String getResourceWindow()
getResourceWindow
in interface PortalURL
public void setResourceWindow(String resourceWindow)
setResourceWindow
in interface PortalURL
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |