| |
|
| java.lang.Object org.apache.cocoon.portal.pluto.PortletURLConverter
PortletURLConverter | public class PortletURLConverter (Code) | | Create the URL for a portlet
author: Ralph Goers version: SVN $Id: $ |
Method Summary | |
public PortletMode | getMode() | public Map | getParameters() Returns the request parameters for this portlet URL. | public String | getPortletId() Returns the portlet id. | public WindowState | getState() | public boolean | isAction() Return the indicator if this is an action. | public void | setAction() Indicates that the URL is an action. | public void | setMode(PortletMode mode) Sets the PortletMode. | public void | setParam(String name, String[] values) Adds the parameter, replacing a parameter with the same name. | public void | setState(WindowState state) | public String | toString() Returns the marshalled URL. |
PortletURLConverter | public PortletURLConverter(CopletInstanceData cid)(Code) | | Constructor used when the URL will be marshalled.
Parameters: cid - The coplet id. |
PortletURLConverter | public PortletURLConverter(String eventData)(Code) | | Constructor used when the URL will be unmarshalled.
Parameters: eventData - The url data. |
getMode | public PortletMode getMode()(Code) | | Return the PortletMode
The PortletMode |
getParameters | public Map getParameters()(Code) | | Returns the request parameters for this portlet URL.
A Map containing the parameters for this URL. |
getPortletId | public String getPortletId()(Code) | | Returns the portlet id.
The portlet id. |
getState | public WindowState getState()(Code) | | Return the WindowState
The WindowState |
isAction | public boolean isAction()(Code) | | Return the indicator if this is an action.
true if this is an action URL, false if a render URL. |
setAction | public void setAction()(Code) | | Indicates that the URL is an action.
|
setMode | public void setMode(PortletMode mode)(Code) | | Sets the PortletMode.
Parameters: mode - The PortletMode |
setParam | public void setParam(String name, String[] values)(Code) | | Adds the parameter, replacing a parameter with the same name.
Parameters: name - The parameter name Parameters: values - An array of Strings. |
setState | public void setState(WindowState state)(Code) | | Sets the WindowState
Parameters: state - The WindowState |
toString | public String toString()(Code) | | Returns the marshalled URL.
A String containing the marshalled URL. |
|
|
|