|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portal.portlet.url.PortletRequestParameterManager
public class PortletRequestParameterManager
Manages access to portlet request parameters using a request attribute.
| Field Summary | |
|---|---|
protected org.apache.commons.logging.Log |
logger
|
protected static String |
NO_PORTLET_URL_ATTRIBUTE
|
protected static String |
PORTLET_URL_MAP_ATTRIBUTE
|
protected static String |
TARGETED_PORTLET_URL_ATTRIBUTE
|
| Constructor Summary | |
|---|---|
PortletRequestParameterManager()
|
|
| Method Summary | |
|---|---|
protected PortletUrl |
getAndCheckRequestInfoMap(HttpServletRequest request)
Gets the List of urls from the request, throws a RequestParameterProcessingIncompleteException if
no attribute exists in the request and returns null if the List is empty |
IPortalRequestUtils |
getPortalRequestUtils()
|
PortletUrl |
getPortletRequestInfo(HttpServletRequest request,
IPortletWindowId portletWindowId)
Gets the request information for the specified portlet, returns null if the specified portlet was not targeted. |
IPortletWindowId |
getTargetedPortletWindowId(HttpServletRequest request)
Gets the portlet window ID targeted by the request, returns null if no portlet was targeted. |
void |
setAdditionalPortletUrl(HttpServletRequest request,
PortletUrl portletUrl)
Set the PortletUrl for portlets that have data in this request but are not targeted |
void |
setPortalRequestUtils(IPortalRequestUtils portalRequestUtils)
|
void |
setTargetedPortletUrl(HttpServletRequest request,
PortletUrl portletUrl)
Set the PortletUrl for the portlet that is targeted by the request |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final String NO_PORTLET_URL_ATTRIBUTE
protected static final String TARGETED_PORTLET_URL_ATTRIBUTE
protected static final String PORTLET_URL_MAP_ATTRIBUTE
protected final org.apache.commons.logging.Log logger
| Constructor Detail |
|---|
public PortletRequestParameterManager()
| Method Detail |
|---|
public IPortalRequestUtils getPortalRequestUtils()
public void setPortalRequestUtils(IPortalRequestUtils portalRequestUtils)
portalRequestUtils - the portalRequestUtils to setpublic IPortletWindowId getTargetedPortletWindowId(HttpServletRequest request)
IPortletRequestParameterManager
getTargetedPortletWindowId in interface IPortletRequestParameterManagerrequest - The current request.
public PortletUrl getPortletRequestInfo(HttpServletRequest request,
IPortletWindowId portletWindowId)
IPortletRequestParameterManager
getPortletRequestInfo in interface IPortletRequestParameterManagerrequest - The current request.portletWindowId - The id of the portlet to get request information for
public void setTargetedPortletUrl(HttpServletRequest request,
PortletUrl portletUrl)
IPortletRequestParameterManager
setTargetedPortletUrl in interface IPortletRequestParameterManagerrequest - The current request.portletUrl - The PortletUrl for the targeted portlet, null if no portlet was targeted for the request
public void setAdditionalPortletUrl(HttpServletRequest request,
PortletUrl portletUrl)
IPortletRequestParameterManager
setAdditionalPortletUrl in interface IPortletRequestParameterManagerrequest - The current requestportletUrl - The PortletUrl for the additional portletprotected PortletUrl getAndCheckRequestInfoMap(HttpServletRequest request)
RequestParameterProcessingIncompleteException if
no attribute exists in the request and returns null if the List is empty
request - Current request.
RequestParameterProcessingIncompleteException - if no portlet parameter processing has happened for the request yet.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||