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 Detail

      • 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