com.ibm.commerce.marketingcenter.search.objects
Class MCItemSearchJDBCHelperAccessBean
java.lang.Object
com.ibm.ivj.ejb.runtime.AbstractSessionAccessBean
com.ibm.commerce.marketingcenter.search.objects.MCItemSearchJDBCHelperAccessBean
- public class MCItemSearchJDBCHelperAccessBean
- extends com.ibm.ivj.ejb.runtime.AbstractSessionAccessBean
- See Also:
- Serialized Form
Method Summary |
protected java.lang.String |
defaultJNDIName()
This method was generated by the VisualAge for Java Access Bean SmartGuide. |
com.ibm.commerce.marketingcenter.search.helpers.SearchProductListDataBean |
findItems(java.lang.Integer storeId, java.lang.String locale, com.ibm.commerce.marketingcenter.search.helpers.SearchProductDataBean searchInput, boolean flushNeeded, int startIndex, int maxRows, int location)
This finder performs a search on products, and returns the result based on the search criteria. |
protected void |
instantiateEJB()
This method was generated by the VisualAge for Java Access Bean SmartGuide. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MCItemSearchJDBCHelperAccessBean
public MCItemSearchJDBCHelperAccessBean()
- Zero argument constructor used to initialize the access bean. This constructor corresponds to the following home interface method: public abstract com.ibm.commerce.marketingcenter.search.objects.MCItemSearchJDBCHelper com.ibm.commerce.marketingcenter.search.objects.MCItemSearchJDBCHelperHome.create() throws javax.ejb.CreateException,java.rmi.RemoteException
MCItemSearchJDBCHelperAccessBean
public MCItemSearchJDBCHelperAccessBean(javax.ejb.EJBObject o)
throws java.rmi.RemoteException
- This method was generated by the VisualAge for Java Access Bean SmartGuide. Warning: Modifications will be lost when this part is regenerated.
defaultJNDIName
protected java.lang.String defaultJNDIName()
- This method was generated by the VisualAge for Java Access Bean SmartGuide. Warning: Modifications will be lost when this part is regenerated.
instantiateEJB
protected void instantiateEJB()
throws javax.ejb.CreateException,
java.rmi.RemoteException,
javax.naming.NamingException
- This method was generated by the VisualAge for Java Access Bean SmartGuide. Warning: Modifications will be lost when this part is regenerated.
-
- Throws:
- javax.ejb.CreateException
- java.rmi.RemoteException
- javax.naming.NamingException
findItems
public com.ibm.commerce.marketingcenter.search.helpers.SearchProductListDataBean findItems(java.lang.Integer storeId,
java.lang.String locale,
com.ibm.commerce.marketingcenter.search.helpers.SearchProductDataBean searchInput,
boolean flushNeeded,
int startIndex,
int maxRows,
int location)
throws javax.naming.NamingException,
java.sql.SQLException,
java.rmi.RemoteException,
javax.ejb.ObjectNotFoundException,
javax.ejb.CreateException
- This finder performs a search on products, and returns the result based on the search criteria. The search is performed against these tables: CATENTRY, CATENTDESC, LANGUAGE and STORECENT. These fields are returned as the result set: CATENTRY.CATENTRY_ID, CATENTRY.PARTNUMBER, CATENTDESC.NAME, CATENTDESC.SHORTDESCRIPTION.
-
- Parameters:
- storeId - - the internal reference number of the store
- locale - - the current locale setting
- searchInput - - the reference to the data bean which contains the search input
- flushNeeded - - the flag indicates that if a flush is needed
- startIndex - - the start index of the search result
- maxRows - - the maximum number of rows in the search result that will be returned
- location - - the location of the accelerator panel which triggers the search
- Returns:
- com.ibm.commerce.marketingcenter.campaign.beans.SearchProductListDataBean - the list data bean which has all the result data populated
- Throws:
- javax.naming.NamingException - - Thrown when a naming exception is encountered.
- java.sql.SQLException - - Thrown when an error occurs during the execution of the SQL prepared statement.
- java.rmi.RemoteException - - Thrown when the ejbCreate method is failed to invoke.
- javax.ejb.ObjectNotFoundException - - Thrown when the EJB object cannot be found.
- javax.ejb.CreateException
Feedback
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.