org.pentaho.platform.api.engine
Interface IPentahoUrl

All Known Implementing Classes:
PortletUrl, SimpleUrl

public interface IPentahoUrl

Provides a simple interface for Portlet URL's (PortletURL objects).

Author:
mbatchel

Method Summary
 String getUrl()
           
 void setParameter(String name, String value)
          Sets a URL parameter.
 

Method Detail

setParameter

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

Parameters:
name - Name of the parameter to set
value - Value to set the parameter to

getUrl

String getUrl()
Returns:
the full URL with the parameters incorporated