Interface ControllerContext

All Known Implementing Classes:
AbstractControllerContext

public interface ControllerContext
The context provided to call the portlet controller.
Version:
$Revision: 1.1 $
Author:
Julien Viet
  • Method Summary

    Modifier and Type
    Method
    Description
    org.gatein.pc.api.spi.PortletInvocationContext
    Create a portlet invocation context for the specified window id.
     
    org.gatein.pc.api.info.PortletInfo
    Returns the portet info for a specified window.
     
    org.gatein.pc.api.invocation.response.PortletInvocationResponse
    invoke(String windowId, List<javax.servlet.http.Cookie> requestCookies, org.gatein.pc.api.invocation.EventInvocation eventInvocation)
     
    org.gatein.pc.api.invocation.response.PortletInvocationResponse
    invoke(String windowId, List<javax.servlet.http.Cookie> requestCookies, org.gatein.pc.api.invocation.RenderInvocation renderInvocation)
     
    org.gatein.pc.api.invocation.response.PortletInvocationResponse
    invoke(String windowId, org.gatein.pc.api.invocation.ActionInvocation actionInvocation)
     
    org.gatein.pc.api.invocation.response.PortletInvocationResponse
    invoke(String windowId, org.gatein.pc.api.invocation.ResourceInvocation resourceInvocation)
     
  • Method Details

    • getEventControllerContext

      EventControllerContext getEventControllerContext()
    • getStateControllerContext

      StateControllerContext getStateControllerContext()
    • getPortletInfo

      org.gatein.pc.api.info.PortletInfo getPortletInfo(String windowId)
      Returns the portet info for a specified window.
      Parameters:
      windowId - the window id
      Returns:
      the portlet info or null if none can be found
    • createPortletInvocationContext

      org.gatein.pc.api.spi.PortletInvocationContext createPortletInvocationContext(String windowId, PageNavigationalState pageNavigationalState)
      Create a portlet invocation context for the specified window id.
      Parameters:
      windowId - the window id
      pageNavigationalState - the page navigational state
      Returns:
      the portlet invocation context
    • invoke

      org.gatein.pc.api.invocation.response.PortletInvocationResponse invoke(String windowId, org.gatein.pc.api.invocation.ActionInvocation actionInvocation) throws org.gatein.pc.api.PortletInvokerException
      Throws:
      org.gatein.pc.api.PortletInvokerException
    • invoke

      org.gatein.pc.api.invocation.response.PortletInvocationResponse invoke(String windowId, List<javax.servlet.http.Cookie> requestCookies, org.gatein.pc.api.invocation.EventInvocation eventInvocation) throws org.gatein.pc.api.PortletInvokerException
      Throws:
      org.gatein.pc.api.PortletInvokerException
    • invoke

      org.gatein.pc.api.invocation.response.PortletInvocationResponse invoke(String windowId, List<javax.servlet.http.Cookie> requestCookies, org.gatein.pc.api.invocation.RenderInvocation renderInvocation) throws org.gatein.pc.api.PortletInvokerException
      Throws:
      org.gatein.pc.api.PortletInvokerException
    • invoke

      org.gatein.pc.api.invocation.response.PortletInvocationResponse invoke(String windowId, org.gatein.pc.api.invocation.ResourceInvocation resourceInvocation) throws org.gatein.pc.api.PortletInvokerException
      Throws:
      org.gatein.pc.api.PortletInvokerException