|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.wps.portlets.struts.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 WpsStrutsViewCommand implementation has access to the objects
necessary to render the view.
| Constructor Summary | |
|---|---|
ViewCommandExecutionContext(PortletContext portletContext,
ModuleContext moduleContext,
ServletContext servletContext)
Constructs the ViewCommandExecutionContext. |
|
ViewCommandExecutionContext(PortletContext portletContext,
ModuleContext moduleContext,
ServletContext servletContext,
PageContext pageContext)
Constructs the ViewCommandExecutionContext. |
|
ViewCommandExecutionContext(PortletRequest portletRequest,
WpsActionServlet actionServlet)
Constructs the ViewCommandExecutionContext. |
|
| Method Summary | |
|---|---|
ModuleContext |
getModuleContext()
Returns the ModuleContext. |
PageContext |
getPageContext()
Returns the PageContext. |
PortletContext |
getPortletContext()
Returns the PortletContext. |
ServletContext |
getServletContext()
Returns the ServletContext. |
void |
setModuleContext(ModuleContext context)
Sets the ModuleContext. |
void |
setPageContext(PageContext pageContext)
Sets the PageContext. |
| 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 object
public 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 object
public ViewCommandExecutionContext(PortletRequest portletRequest,
WpsActionServlet actionServlet)
portletRequest - the portlet request objectactionServlet - the action servlet object| Method Detail |
|---|
public PortletContext getPortletContext()
public ModuleContext getModuleContext()
public void setModuleContext(ModuleContext context)
ModuleContext - the module contextpublic ServletContext getServletContext()
public PageContext getPageContext()
nullpublic void setPageContext(PageContext pageContext)
pageContext - the page context
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||