|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.portal.struts.command.ViewCommandExecutionContext
public class ViewCommandExecutionContext
The ViewCommandExecutionContext
class is a context object that is passed
to the execute method of an IViewCommand. This is a generic context object that
is provided so the StrutsViewCommand implementation has access to the objects
necessary to render the view.
Constructor Summary | |
---|---|
ViewCommandExecutionContext(PortletContext portletContext,
ModuleContext moduleContext,
ServletContext servletContext)
Construct the ViewCommandExecutionContext object |
|
ViewCommandExecutionContext(PortletContext portletContext,
ModuleContext moduleContext,
ServletContext servletContext,
PageContext pageContext)
Construct the ViewCommandExecutionContext object |
|
ViewCommandExecutionContext(PortletRequest portletRequest,
PortletResponse portletResponse,
WpActionServlet actionServlet)
Construct the ViewCommandExecutionContext obect. |
Method Summary | |
---|---|
ModuleContext |
getModuleContext()
Return the ModuleContext object |
PageContext |
getPageContext()
Return the PageContext object |
PortletContext |
getPortletContext()
Return the PortletContext object |
ServletContext |
getServletContext()
Return the ServletContext object |
void |
setModuleContext(ModuleContext context)
Set the ModuleContext |
void |
setPageContext(PageContext pageContext)
Set the PageContext object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ViewCommandExecutionContext(PortletContext portletContext, ModuleContext moduleContext, ServletContext servletContext)
portletContext
- the portlet context objectmoduleContext
- the module context objectservletContext
- the servlet context objectpublic ViewCommandExecutionContext(PortletContext portletContext, ModuleContext moduleContext, ServletContext servletContext, PageContext pageContext)
portletContext
- the portlet context objectmoduleContext
- the module context objectservletContext
- the servlet context objectpageContext
- the page context objectpublic ViewCommandExecutionContext(PortletRequest portletRequest, PortletResponse portletResponse, WpActionServlet actionServlet)
portletRequest
- the portlet request objectportletResponse
- the portlet response objectactionServlet
- the action servlet objectMethod Detail |
---|
public PortletContext getPortletContext()
public ModuleContext getModuleContext()
public void setModuleContext(ModuleContext context)
context
- the module context objectpublic ServletContext getServletContext()
public PageContext getPageContext()
null
public void setPageContext(PageContext pageContext)
pageContext
- the page context object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |