message.portlets
Class EbaySearchBookPortlet

java.lang.Object
  extended byjavax.portlet.GenericPortlet
      extended bymessage.portlets.JSPPortlet
          extended bymessage.portlets.EbaySearchBookPortlet
All Implemented Interfaces:
javax.portlet.Portlet, javax.portlet.PortletConfig

public class EbaySearchBookPortlet
extends JSPPortlet

This is an example of a simple, complete portlet with message mappings configurable by the portal user. There is one input mapping, with internal name "search". It uses edit_mappings.jsp and the functions in MessageUtils to do the dynamic mappings.

See Also:
WiredListingPortlet, MessageUtils

Constructor Summary
EbaySearchBookPortlet()
           
 
Method Summary
 void doEdit(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response)
           
 void doHelp(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response)
           
 void doView(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response)
           
 java.lang.String getInstanceID(javax.portlet.PortletSession portletSession)
           
 void processAction(javax.portlet.ActionRequest request, javax.portlet.ActionResponse actionResponse)
           
 
Methods inherited from class message.portlets.JSPPortlet
include
 
Methods inherited from class javax.portlet.GenericPortlet
destroy, doDispatch, getInitParameter, getInitParameterNames, getPortletConfig, getPortletContext, getPortletName, getResourceBundle, getTitle, init, init, render
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EbaySearchBookPortlet

public EbaySearchBookPortlet()
Method Detail

doView

public void doView(javax.portlet.RenderRequest request,
                   javax.portlet.RenderResponse response)
            throws javax.portlet.PortletException,
                   java.io.IOException
Throws:
javax.portlet.PortletException
java.io.IOException

doEdit

public void doEdit(javax.portlet.RenderRequest request,
                   javax.portlet.RenderResponse response)
            throws javax.portlet.PortletException,
                   java.io.IOException
Throws:
javax.portlet.PortletException
java.io.IOException

doHelp

public void doHelp(javax.portlet.RenderRequest request,
                   javax.portlet.RenderResponse response)
            throws javax.portlet.PortletException,
                   java.io.IOException
Throws:
javax.portlet.PortletException
java.io.IOException

processAction

public void processAction(javax.portlet.ActionRequest request,
                          javax.portlet.ActionResponse actionResponse)
                   throws javax.portlet.PortletException,
                          java.io.IOException
Throws:
javax.portlet.PortletException
java.io.IOException

getInstanceID

public java.lang.String getInstanceID(javax.portlet.PortletSession portletSession)