This is a Home interface for the Entity Bean
Method Summary | |
---|---|
ProductAdvisorStatistics |
create(java.lang.Integer arg1, java.lang.Integer arg2,
java.lang.Long arg3) Maps to a corresponding ejbCreate method in the home interface of the EJB |
ProductAdvisorStatistics |
create(java.lang.Integer aMetaphorTypeId, java.lang.Integer aStoreId,
java.lang.Long aCatGroupId, java.lang.Integer aPACount) Maps to a corresponding ejbCreate method in the home interface of the EJB |
java.util.Enumeration |
findByCatGroupIdAndStoreId(java.lang.Long cGID,
java.lang.Integer sID) This method returns an Enumeration of ProductAdvisorStatisticsAccessBean for the given category group identifier and store entity identifier. |
java.util.Enumeration |
findByMetaphorTypeIdAndStoreId(java.lang.Integer mTID,
java.lang.Integer sID) This method returns an Enumeration of ProductAdvisorStatisticsAccessBean for the given metaphor type identifier and store entity identifier. |
ProductAdvisorStatistics |
findByPrimaryKey(
ProductAdvisorStatisticsKey key) findByPrimaryKey method comment |
java.util.Enumeration |
findByStoreId(java.lang.Integer sID)
This method returns an Enumeration of
ProductAdvisorStatisticsAccessBean for the given store entity
identifier. |
Method Detail |
---|
public ProductAdvisorStatistics create(java.lang.Integer arg1, java.lang.Integer arg2, java.lang.Long arg3) throws javax.ejb.CreateException, java.rmi.RemoteException
Maps to a corresponding ejbCreate method in the home interface of the EJB
arg1
- A metaphor type identifierarg2
- A store entity identifierarg3
- A category group identifierjavax.ejb.CreateException
- The javax.ejb.CreateException
exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException
exceptionpublic ProductAdvisorStatistics create(java.lang.Integer aMetaphorTypeId, java.lang.Integer aStoreId, java.lang.Long aCatGroupId, java.lang.Integer aPACount) throws javax.ejb.CreateException, java.rmi.RemoteException
Maps to a corresponding ejbCreate method in the home interface of the EJB
aMetaphorTypeId
- A metaphor type identifieraStoreId
- A store identifieraCatGroupId
- A category group identifieraPACount
- The number of times this particular metaphor was
invoked by a customerjavax.ejb.CreateException
- The javax.ejb.CreateException
exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException
exceptionpublic java.util.Enumeration findByCatGroupIdAndStoreId(java.lang.Long cGID, java.lang.Integer sID) throws java.rmi.RemoteException, javax.ejb.FinderException
This method returns an Enumeration of ProductAdvisorStatisticsAccessBean for the given category group identifier and store entity identifier.
SQL:
SELECT * FROM PASTATS WHERE CATGROUP_ID = cGID AND STOREENT_ID
=sID
cGID
- A category group identifiersID
- A store entity identifierjava.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionpublic java.util.Enumeration findByMetaphorTypeIdAndStoreId(java.lang.Integer mTID, java.lang.Integer sID) throws java.rmi.RemoteException, javax.ejb.FinderException
This method returns an Enumeration of ProductAdvisorStatisticsAccessBean for the given metaphor type identifier and store entity identifier.
SQL:
SELECT * FROM PASTATS WHERE METAPHORTYPE_ID = mTID AND STOREENT_ID
=sID
mTID
- A metaphor type identifiersID
- A store entity identifierjava.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionpublic ProductAdvisorStatistics findByPrimaryKey(ProductAdvisorStatisticsKey key) throws java.rmi.RemoteException, javax.ejb.FinderException
key
-
com.ibm.commerce.marketingcenter.events.objects.ProductAdvisorStatisticsKeyjava.rmi.RemoteException
- The exception description.javax.ejb.FinderException
- The exception
description.public java.util.Enumeration findByStoreId(java.lang.Integer sID) throws java.rmi.RemoteException, javax.ejb.FinderException
This method returns an Enumeration of ProductAdvisorStatisticsAccessBean for the given store entity identifier.
SQL:
SELECT * FROM PASTATS WHERE STOREENT_ID =sID GROUP BY CATGROUP_ID,
METAPHORTYPE, STOREENT_ID, COUNT ORDER BY CATGROUP_ID, METAPHORTYPE
sID
- A store entity identifierjava.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exception