com.ibm.ccd.ui.portlets.search.core.cmd
Class PopulateViewDataStoreCmd

java.lang.Object
  extended by com.ibm.ccd.ui.portlets.search.core.cmd.PopulateViewDataStoreCmd
All Implemented Interfaces:
ISearchCommand
Direct Known Subclasses:
SearchUtilViewDataStoreCmd

public class PopulateViewDataStoreCmd
extends java.lang.Object
implements ISearchCommand


Field Summary
protected  SearchHelper helper
           
protected  org.apache.jetspeed.portlet.PortletContext portletContext
           
protected  java.lang.String portletName
           
protected  WPSContext wpsContext
           
 
Constructor Summary
PopulateViewDataStoreCmd()
           
 
Method Summary
protected  SearchBean createSearchBean()
           
 void execute(org.apache.jetspeed.portlet.PortletRequest request, org.apache.jetspeed.portlet.PortletResponse response)
           
 org.apache.jetspeed.portlet.PortletContext getPortletContext()
           
 java.lang.String getPortletName()
           
 WPSContext getWpsContext()
           
protected  void modifyAttributeDisplay()
          By default only primary key of item will be displayed in search criteria and search results.
 void setPortletContext(org.apache.jetspeed.portlet.PortletContext portletContext)
           
 void setPortletName(java.lang.String string)
           
protected  void setSearchCriteria(org.apache.jetspeed.portlet.PortletRequest request, org.apache.jetspeed.portlet.PortletResponse response)
           
protected  void setSearchResult(org.apache.jetspeed.portlet.PortletRequest request, org.apache.jetspeed.portlet.PortletResponse response)
           
 void setWpsContext(WPSContext wpsContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

portletContext

protected org.apache.jetspeed.portlet.PortletContext portletContext

wpsContext

protected WPSContext wpsContext

portletName

protected java.lang.String portletName

helper

protected SearchHelper helper
Constructor Detail

PopulateViewDataStoreCmd

public PopulateViewDataStoreCmd()
Method Detail

execute

public void execute(org.apache.jetspeed.portlet.PortletRequest request,
                    org.apache.jetspeed.portlet.PortletResponse response)
             throws UIException,
                    WPCMediatorException
Specified by:
execute in interface ISearchCommand
Throws:
UIException
WPCMediatorException

setSearchCriteria

protected void setSearchCriteria(org.apache.jetspeed.portlet.PortletRequest request,
                                 org.apache.jetspeed.portlet.PortletResponse response)
                          throws UIException,
                                 WPCMediatorException
Throws:
UIException
WPCMediatorException

createSearchBean

protected SearchBean createSearchBean()
Returns:
searchBean

setSearchResult

protected void setSearchResult(org.apache.jetspeed.portlet.PortletRequest request,
                               org.apache.jetspeed.portlet.PortletResponse response)
                        throws UIException,
                               WPCMediatorException
Throws:
UIException
WPCMediatorException

modifyAttributeDisplay

protected void modifyAttributeDisplay()
By default only primary key of item will be displayed in search criteria and search results. If this behaviour needs to be altered then overide this methos in child class Parent class will have blank implementation


getWpsContext

public WPSContext getWpsContext()
Specified by:
getWpsContext in interface ISearchCommand

setWpsContext

public void setWpsContext(WPSContext wpsContext)
Specified by:
setWpsContext in interface ISearchCommand

getPortletContext

public org.apache.jetspeed.portlet.PortletContext getPortletContext()
Specified by:
getPortletContext in interface ISearchCommand

setPortletContext

public void setPortletContext(org.apache.jetspeed.portlet.PortletContext portletContext)
Specified by:
setPortletContext in interface ISearchCommand

getPortletName

public java.lang.String getPortletName()
Specified by:
getPortletName in interface ISearchCommand
Returns:
string

setPortletName

public void setPortletName(java.lang.String string)
Specified by:
setPortletName in interface ISearchCommand
Parameters:
string -