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

    Constructors
    Constructor
    Description
    TCKPortletControllerContext(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp, jakarta.servlet.ServletContext servletContext)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.gatein.pc.api.spi.PortletInvocationContext
    createPortletInvocationContext(String windowId, org.gatein.pc.controller.state.PageNavigationalState pageNavigationalState)
     
    org.gatein.pc.controller.event.EventControllerContext
     
    org.gatein.common.io.Serialization<org.gatein.pc.controller.state.PageNavigationalState>
     
    protected org.gatein.pc.api.Portlet
    getPortlet(String windowId)
     
    org.gatein.pc.api.PortletInvoker
     
    Set<org.gatein.pc.api.Portlet>
     
    org.gatein.pc.controller.state.StateControllerContext
     
    protected org.gatein.pc.api.invocation.response.PortletInvocationResponse
    invoke(org.gatein.pc.api.invocation.PortletInvocation invocation)
     

    Methods inherited from class org.gatein.pc.controller.impl.AbstractControllerContext

    getClientRequest, getClientResponse, getPortletInfo, invoke, invoke, invoke, invoke

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      getPortlet in class org.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:
      invoke in class org.gatein.pc.controller.impl.AbstractControllerContext
      Throws:
      org.gatein.pc.api.PortletInvokerException
    • createPortletInvocationContext

      public org.gatein.pc.api.spi.PortletInvocationContext createPortletInvocationContext(String windowId, org.gatein.pc.controller.state.PageNavigationalState pageNavigationalState)
    • getEventControllerContext

      public org.gatein.pc.controller.event.EventControllerContext getEventControllerContext()
    • getStateControllerContext

      public org.gatein.pc.controller.state.StateControllerContext getStateControllerContext()
    • getPageNavigationalStateSerialization

      public org.gatein.common.io.Serialization<org.gatein.pc.controller.state.PageNavigationalState> getPageNavigationalStateSerialization()