org.jboss.portal.portlet.samples.basic
Class PublicParameterPortlet

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

public class PublicParameterPortlet
extends GenericPortlet

Version:
$Revision: 630 $
Author:
Julien Viet

Constructor Summary
PublicParameterPortlet()
           
 
Method Summary
 void render(RenderRequest req, RenderResponse resp)
          The default implementation of this method sets the title using the getTitle method and invokes the doDispatch method.
 void update(ActionRequest req, ActionResponse resp)
           
 
Methods inherited from class javax.portlet.GenericPortlet
destroy, doDispatch, doEdit, doHelp, doView, getInitParameter, getInitParameterNames, getPortletConfig, getPortletContext, getPortletName, getResourceBundle, getTitle, init, init, processAction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PublicParameterPortlet

public PublicParameterPortlet()
Method Detail

update

public void update(ActionRequest req,
                   ActionResponse resp)
            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.