com.ibm.commerce.marketingcenter.events.objects
Interface ProductExplorerStatisticsHome


public interface ProductExplorerStatisticsHome

This is a Home interface for the Entity Bean


Method Summary
  ProductExplorerStatistics create(java.lang.Long arg1, java.lang.Integer arg2, java.lang.Integer arg3)
          Maps to a corresponding ejbCreate method in the home interface of the EJB
  ProductExplorerStatistics create(java.lang.Long aCatGroupId, java.lang.Integer aStoreId, java.lang.Integer aFeatureId, java.lang.String aFeatureName, java.lang.Integer newCount)
          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 ProductExplorerStatisticsAccessBean for the given category group identifier and store entity identifier.
 java.util.Enumeration findByFeatureIdAndStoreId(java.lang.Integer fID, java.lang.Integer sID)
          This method returns an Enumeration of ProductExplorerStatisticsAccessBean for the given feature identifier and store entity identifier.
  ProductExplorerStatistics findByPrimaryKey( ProductExplorerStatisticsKey key)
          findByPrimaryKey method comment
 java.util.Enumeration findByStoreId(java.lang.Integer sID)           This method returns an Enumeration of ProductExplorerStatisticsAccessBean for the given store entity identifier.
 

Method Detail

create

public ProductExplorerStatistics create(java.lang.Long arg1,
                                        java.lang.Integer arg2,
                                        java.lang.Integer arg3)
                                 throws javax.ejb.CreateException,
                                        java.rmi.RemoteException

Maps to a corresponding ejbCreate method in the home interface of the EJB

Parameters:
arg1 - A category group identifier
arg2 - A store entity identifier
arg3 - A feature identifier
Throws:
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception

create

public ProductExplorerStatistics create(java.lang.Long aCatGroupId,
                                        java.lang.Integer aStoreId,
                                        java.lang.Integer aFeatureId,
                                        java.lang.String aFeatureName,
                                        java.lang.Integer newCount)
                                 throws javax.ejb.CreateException,
                                        java.rmi.RemoteException

Maps to a corresponding ejbCreate method in the home interface of the EJB

Parameters:
aCatGroupId - A category group identifier
aStoreId - A store entity identifier
aFeatureId - A feature identifier
aFeatureName - A feature name
newCount - The total number of times this a feature was searched for in Product Explorer
Throws:
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception

findByCatGroupIdAndStoreId

public 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 ProductExplorerStatisticsAccessBean for the given category group identifier and store entity identifier.

SQL:
SELECT * FROM PESTATS WHERE CATGROUP_ID = cGID AND STOREENT_ID =sID

Parameters:
cGID - A category group identifier
sID - A store entity identifier
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

findByFeatureIdAndStoreId

public java.util.Enumeration findByFeatureIdAndStoreId(java.lang.Integer fID,
                                                       java.lang.Integer sID)
                                                throws java.rmi.RemoteException,
                                                       javax.ejb.FinderException

This method returns an Enumeration of ProductExplorerStatisticsAccessBean for the given feature identifier and store entity identifier.

SQL:
SELECT * FROM PESTATS WHERE FEATURE_ID = fID AND STOREENT_ID =sID

Parameters:
fID - A feature identifier
sID - A store entity identifier
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

findByPrimaryKey

public ProductExplorerStatistics findByPrimaryKey(ProductExplorerStatisticsKey key)
                                           throws java.rmi.RemoteException,
                                                  javax.ejb.FinderException
findByPrimaryKey method comment
Parameters:
key - com.ibm.commerce.marketingcenter.events.objects.ProductExplorerStatisticsKey
Returns:
com.ibm.commerce.marketingcenter.events.objects.ProductExplorerStatistics
Throws:
java.rmi.RemoteException - The exception description.
javax.ejb.FinderException - The exception description.

findByStoreId

public java.util.Enumeration findByStoreId(java.lang.Integer sID)
                                    throws java.rmi.RemoteException,
                                           javax.ejb.FinderException

This method returns an Enumeration of ProductExplorerStatisticsAccessBean for the given store entity identifier.

SQL:
SELECT * FROM PESTATS WHERE STOREENT_ID =sID GROUP BY CATGROUP_ID, FEATURENAME, FEATURE_ID, STOREENT_ID, COUNT ORDER BY CATGROUP_ID, FEATURENAME

Parameters:
sID - A store entity identifier
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception