Class TCKPortletControllerContext
java.lang.Object
org.gatein.pc.controller.impl.AbstractControllerContext
org.gatein.pc.test.controller.tck.TCKPortletControllerContext
- All Implemented Interfaces:
org.gatein.pc.controller.ControllerContext
public class TCKPortletControllerContext
extends org.gatein.pc.controller.impl.AbstractControllerContext
- Version:
- $Revision: 630 $
- Author:
- Julien Viet
-
Field Summary
Fields inherited from class org.gatein.pc.controller.impl.AbstractControllerContext
PORTAL_CONTEXT, req, resp -
Constructor Summary
ConstructorsConstructorDescriptionTCKPortletControllerContext(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp, jakarta.servlet.ServletContext servletContext) -
Method Summary
Modifier and TypeMethodDescriptionorg.gatein.pc.api.spi.PortletInvocationContextcreatePortletInvocationContext(String windowId, org.gatein.pc.controller.state.PageNavigationalState pageNavigationalState) org.gatein.pc.controller.event.EventControllerContextorg.gatein.common.io.Serialization<org.gatein.pc.controller.state.PageNavigationalState> protected org.gatein.pc.api.PortletgetPortlet(String windowId) org.gatein.pc.api.PortletInvokerSet<org.gatein.pc.api.Portlet> org.gatein.pc.controller.state.StateControllerContextprotected org.gatein.pc.api.invocation.response.PortletInvocationResponseinvoke(org.gatein.pc.api.invocation.PortletInvocation invocation) Methods inherited from class org.gatein.pc.controller.impl.AbstractControllerContext
getClientRequest, getClientResponse, getPortletInfo, invoke, invoke, invoke, invoke
-
Constructor Details
-
TCKPortletControllerContext
public TCKPortletControllerContext(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp, jakarta.servlet.ServletContext servletContext) throws IOException - Throws:
IOException
-
-
Method Details
-
getPortletInvoker
public org.gatein.pc.api.PortletInvoker getPortletInvoker() -
getPortlets
public Set<org.gatein.pc.api.Portlet> getPortlets() throws org.gatein.pc.api.PortletInvokerException- Throws:
org.gatein.pc.api.PortletInvokerException
-
getPortlet
protected org.gatein.pc.api.Portlet getPortlet(String windowId) throws org.gatein.pc.api.PortletInvokerException - Specified by:
getPortletin classorg.gatein.pc.controller.impl.AbstractControllerContext- Throws:
org.gatein.pc.api.PortletInvokerException
-
invoke
protected org.gatein.pc.api.invocation.response.PortletInvocationResponse invoke(org.gatein.pc.api.invocation.PortletInvocation invocation) throws org.gatein.pc.api.PortletInvokerException - Specified by:
invokein classorg.gatein.pc.controller.impl.AbstractControllerContext- Throws:
org.gatein.pc.api.PortletInvokerException
-
getEventControllerContext
public org.gatein.pc.controller.event.EventControllerContext getEventControllerContext() -
getStateControllerContext
public org.gatein.pc.controller.state.StateControllerContext getStateControllerContext()
-