com.ibm.ccd.ui.portlets.search.core.cmd
Class PopulateViewDataStoreCmd
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
portletContext
protected org.apache.jetspeed.portlet.PortletContext portletContext
wpsContext
protected WPSContext wpsContext
portletName
protected java.lang.String portletName
helper
protected SearchHelper helper
PopulateViewDataStoreCmd
public PopulateViewDataStoreCmd()
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
-