|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IPortletRenderer
Provides easy API for executing methods on portlets. Takes care of all of the uPortal specific setup and tear down around portlet calls.
| Method Summary | |
|---|---|
void |
doAction(IPortletWindowId portletWindowId,
HttpServletRequest httpServletRequest,
HttpServletResponse httpServletResponse)
Executes an action in a portlet, handles all the request and response setup and teardown |
IPortletWindowId |
doInit(IPortletEntity portletEntity,
IPortletWindowId portletWindowId,
HttpServletRequest httpServletRequest,
HttpServletResponse httpServletResponse)
Initializes the portlet within the portlet container |
PortletRenderResult |
doRender(IPortletWindowId portletWindowId,
HttpServletRequest httpServletRequest,
HttpServletResponse httpServletResponse,
Writer writer)
Executes a render in a portlet, handles all the request and response setup and teardown |
void |
doReset(IPortletWindowId portletWindowId,
HttpServletRequest httpServletRequest,
HttpServletResponse httpServletResponse)
Resets a portlet's window data to the defaults and clears all portlet scoped session data |
| Method Detail |
|---|
IPortletWindowId doInit(IPortletEntity portletEntity,
IPortletWindowId portletWindowId,
HttpServletRequest httpServletRequest,
HttpServletResponse httpServletResponse)
portletEntity - The portlet entity to base the window onportletWindowId - Window ID of the portlet to inititalize, may be nullhttpServletRequest - The portal's requesthttpServletResponse - The portal's response (nothing will be written to the response)
void doAction(IPortletWindowId portletWindowId,
HttpServletRequest httpServletRequest,
HttpServletResponse httpServletResponse)
portletWindowId - Portlet to target with the actionhttpServletRequest - The portal's requesthttpServletResponse - The portal's response (nothing will be written to the response)
PortletRenderResult doRender(IPortletWindowId portletWindowId,
HttpServletRequest httpServletRequest,
HttpServletResponse httpServletResponse,
Writer writer)
portletWindowId - Portlet to target with the renderhttpServletRequest - The portal's requesthttpServletResponse - The portal's response (nothing will be written to the response)writer - The writer to write the portlet's output to
void doReset(IPortletWindowId portletWindowId,
HttpServletRequest httpServletRequest,
HttpServletResponse httpServletResponse)
portletWindowId - Portlet to target with the renderhttpServletRequest - The portal's requesthttpServletResponse - The portal's response (nothing will be written to the response)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||