Overview Package Class Tree Serialized Deprecated Index Help PREV class NEXT class SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD
com.ibm.wps.portlets.struts
Class ViewCommandExecutionContextjava.lang.Object com.ibm.wps.portlets.struts.ViewCommandExecutionContext
- Direct Known Subclasses:
- WpsStrutsViewCommandExecutionContext
- public class ViewCommandExecutionContext
- extends java.lang.Object
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.
- Since:
- 4.1
Constructor Summary ViewCommandExecutionContext(org.apache.jetspeed.portlet.PortletContext portletContext, com.ibm.wps.struts.common.ModuleContext moduleContext, javax.servlet.ServletContext servletContext)
Constructs the ViewCommandExecutionContext.ViewCommandExecutionContext(org.apache.jetspeed.portlet.PortletContext portletContext, com.ibm.wps.struts.common.ModuleContext moduleContext, javax.servlet.ServletContext servletContext, javax.servlet.jsp.PageContext pageContext)
Constructs the ViewCommandExecutionContext.ViewCommandExecutionContext(org.apache.jetspeed.portlet.PortletRequest portletRequest, WpsActionServlet actionServlet)
Constructs the ViewCommandExecutionContext.
Method Summary com.ibm.wps.struts.common.ModuleContext getModuleContext()
Returns the ModuleContext.javax.servlet.jsp.PageContext getPageContext()
Returns the PageContext.org.apache.jetspeed.portlet.PortletContext getPortletContext()
Returns the PortletContext.javax.servlet.ServletContext getServletContext()
Returns the ServletContext.void setModuleContext(com.ibm.wps.struts.common.ModuleContext context)
Sets the ModuleContext.void setPageContext(javax.servlet.jsp.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 ViewCommandExecutionContext
public ViewCommandExecutionContext(org.apache.jetspeed.portlet.PortletContext portletContext, com.ibm.wps.struts.common.ModuleContext moduleContext, javax.servlet.ServletContext servletContext)
- Constructs the ViewCommandExecutionContext.
- Parameters:
- portletContext - the portlet context object
- moduleContext - the module context object
- servletContext - the servlet context object
ViewCommandExecutionContext
public ViewCommandExecutionContext(org.apache.jetspeed.portlet.PortletContext portletContext, com.ibm.wps.struts.common.ModuleContext moduleContext, javax.servlet.ServletContext servletContext, javax.servlet.jsp.PageContext pageContext)
- Constructs the ViewCommandExecutionContext.
- Parameters:
- portletContext - the portlet context object
- moduleContext - the module context object
- servletContext - the servlet context object
- pageContext - the page context object
ViewCommandExecutionContext
public ViewCommandExecutionContext(org.apache.jetspeed.portlet.PortletRequest portletRequest, WpsActionServlet actionServlet)
- Constructs the ViewCommandExecutionContext. This version will use the WpsActionServlet object to obtain the PortletContext and the ServletContext.
- Parameters:
- portletRequest - the portlet request object
- actionServlet - the action servlet object
Method Detail getPortletContext
public org.apache.jetspeed.portlet.PortletContext getPortletContext()
- Returns the PortletContext.
- Returns:
- returns the portlet context
getModuleContext
public com.ibm.wps.struts.common.ModuleContext getModuleContext()
- Returns the ModuleContext.
- Returns:
- returns the module context
setModuleContext
public void setModuleContext(com.ibm.wps.struts.common.ModuleContext context)
- Sets the ModuleContext.
getServletContext
public javax.servlet.ServletContext getServletContext()
- Returns the ServletContext.
- Returns:
- returns the servlet context
getPageContext
public javax.servlet.jsp.PageContext getPageContext()
- Returns the PageContext.
- Returns:
- returns the page context, this value can be
null
setPageContext
public void setPageContext(javax.servlet.jsp.PageContext pageContext)
- Sets the PageContext.
- Parameters:
- pageContext - the page context
Overview Package Class Tree Serialized Deprecated Index Help PREV class NEXT class SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD
WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.
IBM is a trademark of the IBM Corporation in the United States, other countries, or both.