com.ibm.ccd.ui.portlets.search.core
Class BaseSearchPortlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.ibm.wps.pe.pc.legacy.cache.CacheablePortlet
              extended by org.apache.jetspeed.portlet.Portlet
                  extended by org.apache.jetspeed.portlet.PortletAdapter
                      extended by com.ibm.ccd.ui.portlets.BasePortlet
                          extended by com.ibm.ccd.ui.portlets.search.core.BaseSearchPortlet
All Implemented Interfaces:
com.ibm.websphere.servlet.cache.CacheableServlet, java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig, org.apache.jetspeed.portlet.event.ActionListener, org.apache.jetspeed.portlet.PortletSessionListener
Direct Known Subclasses:
LookupTableSearchPortlet, SearchPortlet, SearchUtilPortlet

public abstract class BaseSearchPortlet
extends BasePortlet
implements org.apache.jetspeed.portlet.event.ActionListener

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.jetspeed.portlet.Portlet
org.apache.jetspeed.portlet.Portlet.Mode, org.apache.jetspeed.portlet.Portlet.ModeModifier
 
Field Summary
 
Fields inherited from class com.ibm.ccd.ui.portlets.BasePortlet
alertDataSource, log
 
Constructor Summary
BaseSearchPortlet()
           
 
Method Summary
 void actionPerformed(org.apache.jetspeed.portlet.event.ActionEvent event)
           
 void doConfigure(org.apache.jetspeed.portlet.PortletRequest request, org.apache.jetspeed.portlet.PortletResponse response)
          Handles the Config mode event
 void doEdit(org.apache.jetspeed.portlet.PortletRequest request, org.apache.jetspeed.portlet.PortletResponse response)
          Handles the Edit mode event
 void doHelp(org.apache.jetspeed.portlet.PortletRequest request, org.apache.jetspeed.portlet.PortletResponse response)
          Handles the Portlet help events
 void doView(org.apache.jetspeed.portlet.PortletRequest request, org.apache.jetspeed.portlet.PortletResponse response)
           
protected  void executeCommand(ISearchCommand command, org.apache.jetspeed.portlet.PortletRequest request)
           
protected  void executeCommand(ISearchCommand command, org.apache.jetspeed.portlet.PortletRequest request, org.apache.jetspeed.portlet.PortletResponse response)
           
protected  ISearchCommand getAction(java.lang.String actionString)
           
protected  ISearchCommand getDataStore(org.apache.jetspeed.portlet.Portlet.Mode mode)
           
protected  void includeJSP(java.lang.String jspName, org.apache.jetspeed.portlet.PortletRequest request, org.apache.jetspeed.portlet.PortletResponse response)
           
 void init(org.apache.jetspeed.portlet.PortletConfig portletConfig)
           
protected abstract  void render(org.apache.jetspeed.portlet.PortletRequest request, org.apache.jetspeed.portlet.PortletResponse response, org.apache.jetspeed.portlet.Portlet.Mode mode)
           
protected  void setBusinessFunction(org.apache.jetspeed.portlet.PortletRequest request)
          sets the business function in PortletSession object
 
Methods inherited from class com.ibm.ccd.ui.portlets.BasePortlet
addTransaction, addTransaction, createCommand, createCommand, createContext, getMessageMap, getReqParamArray, getTextLabel, getTextMessages, getWPSContext, handleException
 
Methods inherited from class org.apache.jetspeed.portlet.PortletAdapter
destroy, destroyConcrete, getLastModified, getPortletConfig, getPortletLog, getVariable, initConcrete, login, logout, removeVariable, service, setVariable
 
Methods inherited from class org.apache.jetspeed.portlet.Portlet
destroy, doGet, doPost, doPut, getId, getInitParameter, getInitParameterNames, getLastModified, getPortletSettings, getServletContext, getServletInfo, init, service
 
Methods inherited from class com.ibm.wps.pe.pc.legacy.cache.CacheablePortlet
getSharingPolicy, service
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doTrace
 
Methods inherited from class javax.servlet.GenericServlet
getServletConfig, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseSearchPortlet

public BaseSearchPortlet()
Method Detail

init

public void init(org.apache.jetspeed.portlet.PortletConfig portletConfig)
          throws org.apache.jetspeed.portlet.UnavailableException
Overrides:
init in class BasePortlet
Throws:
org.apache.jetspeed.portlet.UnavailableException
See Also:
Portlet.init(PortletConfig)

doView

public void doView(org.apache.jetspeed.portlet.PortletRequest request,
                   org.apache.jetspeed.portlet.PortletResponse response)
            throws org.apache.jetspeed.portlet.PortletException,
                   java.io.IOException
Overrides:
doView in class org.apache.jetspeed.portlet.PortletAdapter
Throws:
org.apache.jetspeed.portlet.PortletException
java.io.IOException
See Also:
PortletAdapter.doView(PortletRequest, PortletResponse)

render

protected abstract void render(org.apache.jetspeed.portlet.PortletRequest request,
                               org.apache.jetspeed.portlet.PortletResponse response,
                               org.apache.jetspeed.portlet.Portlet.Mode mode)
                        throws org.apache.jetspeed.portlet.PortletException,
                               java.io.IOException
Throws:
org.apache.jetspeed.portlet.PortletException
java.io.IOException

getDataStore

protected ISearchCommand getDataStore(org.apache.jetspeed.portlet.Portlet.Mode mode)

actionPerformed

public void actionPerformed(org.apache.jetspeed.portlet.event.ActionEvent event)
                     throws org.apache.jetspeed.portlet.PortletException
Specified by:
actionPerformed in interface org.apache.jetspeed.portlet.event.ActionListener
Throws:
org.apache.jetspeed.portlet.PortletException
See Also:
ActionListener.actionPerformed(ActionEvent)

executeCommand

protected void executeCommand(ISearchCommand command,
                              org.apache.jetspeed.portlet.PortletRequest request)
Parameters:
command -
request -

doEdit

public void doEdit(org.apache.jetspeed.portlet.PortletRequest request,
                   org.apache.jetspeed.portlet.PortletResponse response)
            throws org.apache.jetspeed.portlet.PortletException,
                   java.io.IOException
Handles the Edit mode event

Overrides:
doEdit in class org.apache.jetspeed.portlet.PortletAdapter
Throws:
org.apache.jetspeed.portlet.PortletException
java.io.IOException

doConfigure

public void doConfigure(org.apache.jetspeed.portlet.PortletRequest request,
                        org.apache.jetspeed.portlet.PortletResponse response)
                 throws org.apache.jetspeed.portlet.PortletException,
                        java.io.IOException
Handles the Config mode event

Overrides:
doConfigure in class org.apache.jetspeed.portlet.PortletAdapter
Throws:
org.apache.jetspeed.portlet.PortletException
java.io.IOException

setBusinessFunction

protected void setBusinessFunction(org.apache.jetspeed.portlet.PortletRequest request)
sets the business function in PortletSession object

Specified by:
setBusinessFunction in class BasePortlet

doHelp

public void doHelp(org.apache.jetspeed.portlet.PortletRequest request,
                   org.apache.jetspeed.portlet.PortletResponse response)
            throws org.apache.jetspeed.portlet.PortletException,
                   java.io.IOException
Handles the Portlet help events

Overrides:
doHelp in class BasePortlet
Parameters:
request -
response -
Throws:
org.apache.jetspeed.portlet.PortletException
java.io.IOException

executeCommand

protected void executeCommand(ISearchCommand command,
                              org.apache.jetspeed.portlet.PortletRequest request,
                              org.apache.jetspeed.portlet.PortletResponse response)

includeJSP

protected void includeJSP(java.lang.String jspName,
                          org.apache.jetspeed.portlet.PortletRequest request,
                          org.apache.jetspeed.portlet.PortletResponse response)
                   throws org.apache.jetspeed.portlet.PortletException,
                          java.io.IOException
Throws:
org.apache.jetspeed.portlet.PortletException
java.io.IOException

getAction

protected ISearchCommand getAction(java.lang.String actionString)