Package org.gatein.pc.controller
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 TypeMethodDescriptionorg.gatein.pc.api.spi.PortletInvocationContextcreatePortletInvocationContext(String windowId, PageNavigationalState pageNavigationalState) Create a portlet invocation context for the specified window id.org.gatein.pc.api.info.PortletInfogetPortletInfo(String windowId) Returns the portet info for a specified window.org.gatein.pc.api.invocation.response.PortletInvocationResponseinvoke(String windowId, List<javax.servlet.http.Cookie> requestCookies, org.gatein.pc.api.invocation.EventInvocation eventInvocation) org.gatein.pc.api.invocation.response.PortletInvocationResponseinvoke(String windowId, List<javax.servlet.http.Cookie> requestCookies, org.gatein.pc.api.invocation.RenderInvocation renderInvocation) org.gatein.pc.api.invocation.response.PortletInvocationResponseorg.gatein.pc.api.invocation.response.PortletInvocationResponse
-
Method Details
-
getEventControllerContext
EventControllerContext getEventControllerContext() -
getStateControllerContext
StateControllerContext getStateControllerContext() -
getPortletInfo
Returns the portet info for a specified window.- Parameters:
windowId- the window id- Returns:
- the portlet info or null if none can be found
-
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
-