org.jboss.portal.portlet.samples.eventdebug
Class EventPortletA

java.lang.Object
  extended by javax.portlet.GenericPortlet
      extended by org.jboss.portal.portlet.samples.eventdebug.EventPortletA
All Implemented Interfaces:
Portlet

public class EventPortletA
extends GenericPortlet

Version:
$Revision: 630 $
Author:
Wesley Hales

Constructor Summary
EventPortletA()
           
 
Method Summary
protected  void doView(RenderRequest renderRequest, RenderResponse renderResponse)
          Helper method to serve up the mandatory view mode.
 void processAction(ActionRequest actionRequest, ActionResponse actionResponse)
          Called by the portlet container to allow the portlet to process an action request.
 void processEvent(javax.portlet.EventRequest eventRequest, javax.portlet.EventResponse eventResponse)
           
 void render(RenderRequest req, RenderResponse resp)
          The default implementation of this method sets the title using the getTitle method and invokes the doDispatch method.
 
Methods inherited from class javax.portlet.GenericPortlet
destroy, doDispatch, doEdit, doHelp, getInitParameter, getInitParameterNames, getPortletConfig, getPortletContext, getPortletName, getResourceBundle, getTitle, init, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventPortletA

public EventPortletA()
Method Detail

doView

protected void doView(RenderRequest renderRequest,
                      RenderResponse renderResponse)
               throws PortletException,
                      java.io.IOException
Description copied from class: GenericPortlet
Helper method to serve up the mandatory view mode.

The default implementation throws an exception.

Overrides:
doView in class GenericPortlet
Parameters:
renderRequest - the portlet request
renderResponse - the render response
Throws:
PortletException - if the portlet cannot fulfilling the request
UnavailableException - if the portlet is unavailable to perform render at this time
PortletSecurityException - if the portlet cannot fullfill this request because of security reasons
java.io.IOException - if the streaming causes an I/O problem

processAction

public void processAction(ActionRequest actionRequest,
                          ActionResponse actionResponse)
                   throws PortletException,
                          java.io.IOException
Description copied from class: GenericPortlet
Called by the portlet container to allow the portlet to process an action request. This method is called if the client request was originated by a URL created (by the portlet) with the RenderResponse.createActionURL() method.

The default implementation throws an exception.

Specified by:
processAction in interface Portlet
Overrides:
processAction in class GenericPortlet
Parameters:
actionRequest - the action request
actionResponse - the action response
Throws:
PortletException - if the portlet cannot fulfilling the request
UnavailableException - if the portlet is unavailable to process the action at this time
PortletSecurityException - if the portlet cannot fullfill this request because of security reasons
java.io.IOException - if the streaming causes an I/O problem

processEvent

public void processEvent(javax.portlet.EventRequest eventRequest,
                         javax.portlet.EventResponse eventResponse)
                  throws PortletException,
                         java.io.IOException
Throws:
PortletException
java.io.IOException

render

public void render(RenderRequest req,
                   RenderResponse resp)
            throws PortletException,
                   java.io.IOException
Description copied from class: GenericPortlet
The default implementation of this method sets the title using the getTitle method and invokes the doDispatch method.

Specified by:
render in interface Portlet
Overrides:
render in class GenericPortlet
Parameters:
req - the render request
resp - the render response
Throws:
PortletException - if the portlet cannot fulfilling the request
UnavailableException - if the portlet is unavailable to perform render at this time
PortletSecurityException - if the portlet cannot fullfill this request because of security reasons
java.io.IOException - if the streaming causes an I/O problem


Copyright © 2008. All Rights Reserved.