org.apertereports.context
Class ContextReloadListener

java.lang.Object
  extended by org.apertereports.context.ContextReloadListener
All Implemented Interfaces:
com.vaadin.terminal.gwt.server.PortletApplicationContext2.PortletListener, Serializable

public class ContextReloadListener
extends Object
implements com.vaadin.terminal.gwt.server.PortletApplicationContext2.PortletListener

A decorator for the ContextReloadHandler using a Liferay listener. Handles the transformation of the request parameters to a PortletContextHolder instance.

See Also:
Serialized Form

Constructor Summary
ContextReloadListener(ContextReloadHandler handler)
           
 
Method Summary
 void handleActionRequest(javax.portlet.ActionRequest request, javax.portlet.ActionResponse response, com.vaadin.ui.Window window)
          Handles Liferay action request.
 void handleEventRequest(javax.portlet.EventRequest request, javax.portlet.EventResponse response, com.vaadin.ui.Window window)
          Handles Liferay event request.
 void handleRenderRequest(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response, com.vaadin.ui.Window window)
          Handles Liferay render request.
 void handleResourceRequest(javax.portlet.ResourceRequest request, javax.portlet.ResourceResponse response, com.vaadin.ui.Window window)
          Handles Liferay resource request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextReloadListener

public ContextReloadListener(ContextReloadHandler handler)
Method Detail

handleRenderRequest

public void handleRenderRequest(javax.portlet.RenderRequest request,
                                javax.portlet.RenderResponse response,
                                com.vaadin.ui.Window window)
Handles Liferay render request.

Specified by:
handleRenderRequest in interface com.vaadin.terminal.gwt.server.PortletApplicationContext2.PortletListener
Parameters:
request - The request
response - The response
window - Vaadin window
See Also:
PortletApplicationContext2.PortletListener

handleActionRequest

public void handleActionRequest(javax.portlet.ActionRequest request,
                                javax.portlet.ActionResponse response,
                                com.vaadin.ui.Window window)
Handles Liferay action request. Does nothing at the moment.

Specified by:
handleActionRequest in interface com.vaadin.terminal.gwt.server.PortletApplicationContext2.PortletListener
Parameters:
request - The request
response - The response
window - Vaadin window
See Also:
PortletApplicationContext2.PortletListener

handleEventRequest

public void handleEventRequest(javax.portlet.EventRequest request,
                               javax.portlet.EventResponse response,
                               com.vaadin.ui.Window window)
Handles Liferay event request. Does nothing at the moment.

Specified by:
handleEventRequest in interface com.vaadin.terminal.gwt.server.PortletApplicationContext2.PortletListener
Parameters:
request - The request
response - The response
window - Vaadin window
See Also:
PortletApplicationContext2.PortletListener

handleResourceRequest

public void handleResourceRequest(javax.portlet.ResourceRequest request,
                                  javax.portlet.ResourceResponse response,
                                  com.vaadin.ui.Window window)
Handles Liferay resource request.

Specified by:
handleResourceRequest in interface com.vaadin.terminal.gwt.server.PortletApplicationContext2.PortletListener
Parameters:
request - The request
response - The response
window - Vaadin window
See Also:
PortletApplicationContext2.PortletListener


Copyright © 2011-2012. All Rights Reserved.