org.apache.pluto.driver.url.impl
Class PortalURLImpl

java.lang.Object
  extended by org.apache.pluto.driver.url.impl.PortalURLImpl
All Implemented Interfaces:
Cloneable, PortalURL

Deprecated. replaced by RelativePortalURLImpl

public class PortalURLImpl
extends Object
implements PortalURL

The portal URL.

Since:
1.0

Constructor Summary
PortalURLImpl(String protocol, String hostName, int port, String contextPath, String servletName)
          Deprecated. Constructs a PortalURLImpl instance using customized port.
PortalURLImpl(String protocol, String hostName, String contextPath, String servletName)
          Deprecated. Constructs a PortalURLImpl instance using default port.
 
Method Summary
 void addParameter(PortalURLParameter param)
          Deprecated.  
 void addPublicParameterCurrent(String name, String[] values)
          Deprecated.  
 void addPublicRenderParametersNew(Map parameters)
          Deprecated.  
 void clearParameters(String windowId)
          Deprecated. Clear parameters of the specified window.
 Object clone()
          Deprecated. Clone a copy of itself.
 String getActionWindow()
          Deprecated.  
 PageConfig getPageConfig(javax.servlet.ServletContext servletContext)
          Deprecated.  
 Collection getParameters()
          Deprecated.  
 PortletMode getPortletMode(String windowId)
          Deprecated.  
 Map getPortletModes()
          Deprecated.  
 Map<String,String[]> getPublicParameters()
          Deprecated.  
 String getRenderPath()
          Deprecated.  
 String getResourceWindow()
          Deprecated.  
 String getServerURI()
          Deprecated. Returns the server URI (protocol, name, port).
 String getServletPath()
          Deprecated. Returns the servlet path (context path + servlet name).
 WindowState getWindowState(String windowId)
          Deprecated. Returns the window state of the specified window.
 Map getWindowStates()
          Deprecated.  
 void setActionWindow(String actionWindow)
          Deprecated.  
 void setPortletMode(String windowId, PortletMode portletMode)
          Deprecated.  
 void setRenderPath(String renderPath)
          Deprecated.  
 void setResourceWindow(String resourceWindow)
          Deprecated.  
 void setWindowState(String windowId, WindowState windowState)
          Deprecated. Sets the window state of the specified window.
 String toString()
          Deprecated. 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

PortalURLImpl

public PortalURLImpl(String protocol,
                     String hostName,
                     String contextPath,
                     String servletName)
Deprecated. 
Constructs a PortalURLImpl instance using default port.

Parameters:
protocol - the protocol.
hostName - the host name.
contextPath - the servlet context path.
servletName - the servlet name.

PortalURLImpl

public PortalURLImpl(String protocol,
                     String hostName,
                     int port,
                     String contextPath,
                     String servletName)
Deprecated. 
Constructs a PortalURLImpl instance using customized port.

Parameters:
protocol - the protocol.
hostName - the host name.
port - the port number: 0 or negative means using default port.
contextPath - the servlet context path.
servletName - the servlet name.
Method Detail

setRenderPath

public void setRenderPath(String renderPath)
Deprecated. 
Specified by:
setRenderPath in interface PortalURL

getRenderPath

public String getRenderPath()
Deprecated. 
Specified by:
getRenderPath in interface PortalURL

addParameter

public void addParameter(PortalURLParameter param)
Deprecated. 
Specified by:
addParameter in interface PortalURL

addPublicRenderParametersNew

public void addPublicRenderParametersNew(Map parameters)
Deprecated. 
Specified by:
addPublicRenderParametersNew in interface PortalURL

getParameters

public Collection getParameters()
Deprecated. 
Specified by:
getParameters in interface PortalURL

addPublicParameterCurrent

public void addPublicParameterCurrent(String name,
                                      String[] values)
Deprecated. 
Specified by:
addPublicParameterCurrent in interface PortalURL

getPublicParameters

public Map<String,String[]> getPublicParameters()
Deprecated. 
Specified by:
getPublicParameters in interface PortalURL

setActionWindow

public void setActionWindow(String actionWindow)
Deprecated. 
Specified by:
setActionWindow in interface PortalURL

getActionWindow

public String getActionWindow()
Deprecated. 
Specified by:
getActionWindow in interface PortalURL

getResourceWindow

public String getResourceWindow()
Deprecated. 
Specified by:
getResourceWindow in interface PortalURL

setResourceWindow

public void setResourceWindow(String resourceWindow)
Deprecated. 
Specified by:
setResourceWindow in interface PortalURL

getPortletModes

public Map getPortletModes()
Deprecated. 
Specified by:
getPortletModes in interface PortalURL

getPortletMode

public PortletMode getPortletMode(String windowId)
Deprecated. 
Specified by:
getPortletMode in interface PortalURL

setPortletMode

public void setPortletMode(String windowId,
                           PortletMode portletMode)
Deprecated. 
Specified by:
setPortletMode in interface PortalURL

getWindowStates

public Map getWindowStates()
Deprecated. 
Specified by:
getWindowStates in interface PortalURL

getWindowState

public WindowState getWindowState(String windowId)
Deprecated. 
Returns the window state of the specified window.

Specified by:
getWindowState in interface PortalURL
Parameters:
windowId - the window ID.
Returns:
the window state. Default to NORMAL.

setWindowState

public void setWindowState(String windowId,
                           WindowState windowState)
Deprecated. 
Sets the window state of the specified window.

Specified by:
setWindowState in interface PortalURL
Parameters:
windowId - the window ID.
windowState - the window state.

clearParameters

public void clearParameters(String windowId)
Deprecated. 
Clear parameters of the specified window.

Specified by:
clearParameters in interface PortalURL
Parameters:
windowId - the window ID.

toString

public String toString()
Deprecated. 
Converts to a string representing the portal URL.

Specified by:
toString in interface PortalURL
Overrides:
toString in class Object
Returns:
a string representing the portal URL.
See Also:
PortalURLParserImpl.toString(PortalURL)

getServerURI

public String getServerURI()
Deprecated. 
Returns the server URI (protocol, name, port).

Specified by:
getServerURI in interface PortalURL
Returns:
the server URI portion of the portal URL.

getServletPath

public String getServletPath()
Deprecated. 
Returns the servlet path (context path + servlet name).

Specified by:
getServletPath in interface PortalURL
Returns:
the servlet path.

clone

public Object clone()
Deprecated. 
Clone a copy of itself.

Specified by:
clone in interface PortalURL
Overrides:
clone in class Object
Returns:
a copy of itself.

getPageConfig

public PageConfig getPageConfig(javax.servlet.ServletContext servletContext)
Deprecated. 
Specified by:
getPageConfig in interface PortalURL


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.