| java.lang.Object org.pentaho.ui.portlet.PortletUrlFactory
PortletUrlFactory | public class PortletUrlFactory implements IPentahoUrlFactory(Code) | | Factories up implementations of IPentahoUrl. In this case, the implementation
is org.pentaho.ui.portlet.PortletUrl.
Warning: do not hold on to instances of this class beyond the current request/response
cycle. This class maintains a reference to the RenderResponse, which is only valid
in the request/response cycle in which it was created.
Note: this class uses two similarly named classes: PortletURL and PortletUrl.
Don't let this confuse you as you read the code.
author: James Dixon, mods by Steven Barkdull |
Constructor Summary | |
public | PortletUrlFactory(RenderResponse portletResponse, WindowState state, PortletMode mode) |
PortletUrlFactory | public PortletUrlFactory(RenderResponse portletResponse, WindowState state, PortletMode mode)(Code) | | |
getActionUrlBuilder | public IPentahoUrl getActionUrlBuilder()(Code) | | Get a URL builder that is appropriate for building action URLs.
throws: UIException - when one of the underlying PortletURL's set methodsthrow an exception. See docs for PortletURL:http://docs.jboss.org/jbportal/v2.0Final/javadoc/javax/portlet/PortletURL.html |
getDisplayUrlBuilder | public IPentahoUrl getDisplayUrlBuilder()(Code) | | Get a URL builder that is appropriate for building render URLs.
throws: UIException - when one of the underlying PortletURL's set methodsthrow an exception. See docs for PortletURL:http://docs.jboss.org/jbportal/v2.0Final/javadoc/javax/portlet/PortletURL.html |
|
|