| java.lang.Object org.sakaiproject.vm.ActionURL
ActionURL | public class ActionURL (Code) | |
PortletActionURL provides a URL with settable and re-settable parameters based on a portlet window's ActionURL base URL.
|
PARAM_PAGE | final public static String PARAM_PAGE(Code) | | The parameter for page.
|
PARAM_PANEL | final public static String PARAM_PANEL(Code) | | The parameter for paneld.
|
PARAM_PID | final public static String PARAM_PID(Code) | | The parameter for portlet window id (pid).
|
PARAM_SITE | final public static String PARAM_SITE(Code) | | The parameter for site.
|
m_QueryString | protected String m_QueryString(Code) | | Pre-formatted query string, in lieu of parameters
|
m_base | protected String m_base(Code) | | The base url to the portlet.
|
m_isAction | protected boolean m_isAction(Code) | | Is this an Action URL
|
m_parameters | protected Map m_parameters(Code) | | parameters.
|
m_pid | protected String m_pid(Code) | | The portlet window id, if any.
|
m_resourcePath | protected String m_resourcePath(Code) | | Is this a Resource URL
|
ActionURL | public ActionURL(String base, HttpServletRequest request)(Code) | | Construct with a base URL to the portlet, no parameters
Parameters: base - The base URL |
reset | public ActionURL reset()(Code) | | "Reset" the URL by clearing the parameters.
this. |
setAction | public ActionURL setAction()(Code) | | Set this URL to be an 'action' URL, one that usually does a Form POST
this |
setPage | public ActionURL setPage(String page)(Code) | | Set or reset the page.
Parameters: page - The page id. |
setPanel | public ActionURL setPanel(String panel)(Code) | | Set or reset the panel.
Parameters: panel - The panel id. |
setParameter | public ActionURL setParameter(String name, String value)(Code) | | Set or replace (or remove if value is null) a parameter
Parameters: name - The parameter name. Parameters: value - The parameter value. this. |
setPid | public ActionURL setPid(String pid)(Code) | | Set or reset the pid.
Parameters: pid - The portlet window id. |
setQueryString | public ActionURL setQueryString(String queryString)(Code) | | Parameters: queryString - The m_QueryString to set. |
setResourcePath | public ActionURL setResourcePath(String path)(Code) | | Parameters: resource - Whether the URL is a resource |
setSite | public ActionURL setSite(String site)(Code) | | Set or reset the site.
Parameters: site - The site id. |
toString | public String toString()(Code) | | Reneder the URL with parameters
The URL. |
|
|