org.pentaho.platform.web.portal
Class PortletUrl

java.lang.Object
  extended by org.pentaho.platform.web.portal.PortletUrl
All Implemented Interfaces:
IPentahoUrl

public class PortletUrl
extends Object
implements IPentahoUrl


Constructor Summary
PortletUrl(PortletURL portletURL)
           
 
Method Summary
 String getUrl()
           
 void setParameter(String name, String value)
          Sets a URL parameter.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletUrl

public PortletUrl(PortletURL portletURL)
Method Detail

setParameter

public void setParameter(String name,
                         String value)
Description copied from interface: IPentahoUrl
Sets a URL parameter. Since the portlet URL handles all the URL parameter construction, talking to a generic interface seems more extensible.

Specified by:
setParameter in interface IPentahoUrl
Parameters:
name - Name of the parameter to set
value - Value to set the parameter to

getUrl

public String getUrl()
Specified by:
getUrl in interface IPentahoUrl
Returns:
the full URL with the parameters incorporated