This is a Home interface for the Entity Bean
Method Summary | |
---|---|
ProductComparisonStatistics |
create(java.lang.Long arg1, java.lang.Integer arg2) Maps to a corresponding ejbCreate method in the home interface of the EJB |
ProductComparisonStatistics |
create(java.lang.Long aCatGroupId, java.lang.Integer aStoreId,
java.lang.Integer newClicks, java.lang.Integer newViews) Maps to a corresponding ejbCreate method in the home interface of the EJB |
ProductComparisonStatistics |
findByPrimaryKey(
ProductComparisonStatisticsKey key) findByPrimaryKey method comment |
java.util.Enumeration |
findByStoreId(java.lang.Integer sID)
This method returns an Enumeration of
ProductComparisonStatisticsAccessBean for the given store entity
identifier. |
Method Detail |
---|
public ProductComparisonStatistics create(java.lang.Long arg1, java.lang.Integer arg2) throws javax.ejb.CreateException, java.rmi.RemoteException
Maps to a corresponding ejbCreate method in the home interface of the EJB
arg1
- A category group identifierarg2
- A store entity identifierjavax.ejb.CreateException
- The javax.ejb.CreateException
exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException
exceptionpublic ProductComparisonStatistics create(java.lang.Long aCatGroupId, java.lang.Integer aStoreId, java.lang.Integer newClicks, java.lang.Integer newViews) throws javax.ejb.CreateException, java.rmi.RemoteException
Maps to a corresponding ejbCreate method in the home interface of the EJB
aCatGroupId
- A category group identifieraStoreId
- A store entity identifiernewClicks
- The number of times customers clicked on a product
in Product ComparisonnewViews
- The total number of products shown to customers in
Product Comparisonjavax.ejb.CreateException
- The javax.ejb.CreateException
exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException
exceptionpublic ProductComparisonStatistics findByPrimaryKey(ProductComparisonStatisticsKey key) throws java.rmi.RemoteException, javax.ejb.FinderException
key
-
com.ibm.commerce.marketingcenter.events.objects.ProductComparisonStatisticsKeyjava.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 ProductComparisonStatisticsAccessBean for the given store entity identifier.
SQL:
SELECT * FROM PCSTATS WHERE STOREENT_ID =sID GROUP BY CATGROUP_ID,
STOREENT_ID, CLICKS, VIEWS ORDER BY CATGROUP_ID, STOREENT_ID, CLICKS, VIEWS
sID
- A store entity identifierjava.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exception