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


public interface CampaignStatisticsHome

This is a Home interface for the Entity Bean


Method Summary
  CampaignStatistics create(java.lang.Integer arg1, java.lang.Integer arg2, java.lang.Integer arg3)
          Maps to a corresponding ejbCreate method in the home interface of the EJB
  CampaignStatistics create(java.lang.Integer aMpeId, java.lang.Integer anInitiativeId, java.lang.Integer aStoreId, java.lang.Integer aMpeTypeId, java.lang.String aMpeName, java.lang.String anInitiativeName, java.lang.String aMpeTypeName, java.lang.Integer newClicks, java.lang.Integer newViews)
          Maps to a corresponding ejbCreate method in the home interface of the EJB
 java.util.Enumeration findAll()
          This method returns an Enumeration of CampaignStatisticsAccessBean.
 java.util.Enumeration findAllOrderByClickCount()
          This method returns an Enumeration of CampaignStatisticsAccessBean ordered by click count.
 java.util.Enumeration findAllOrderByMpeName()
          This method returns an Enumeration of CampaignStatisticsAccessBean ordered by e-Marketing Spot name.
 java.util.Enumeration findAllOrderByViewCount()
          This method returns an Enumeration of CampaignStatisticsAccessBean ordered by the views count.
 java.util.Enumeration findByInitiativeId(java.lang.Integer initiativeId)
          This method returns an Enumeration of CampaignStatisticsAccessBean for the given initiative identifier.
 java.util.Enumeration findByInitiativeIdOrderByClickCount(java.lang.Integer initiativeId)
          This method returns an Enumeration of CampaignStatisticsAccessBean for the given initiative identifier ordered by the clicks count.
 java.util.Enumeration findByInitiativeIdOrderByMpeName(java.lang.Integer initiativeId)
          This method returns an Enumeration of CampaignStatisticsAccessBean for the given initiative identifier ordered by e-Marketing Spot name.
 java.util.Enumeration findByInitiativeIdOrderByViewCount(java.lang.Integer initiativeId)
          This method returns an Enumeration of CampaignStatisticsAccessBean for the given initiative identifier ordered by the view count.
 java.util.Enumeration findByMpeId(java.lang.Integer mpeId)
          This method returns an Enumeration of CampaignStatisticsAccessBean for the given e-Marketing Spot identifier.
 java.util.Enumeration findByMpeIdOrderByClickCount(java.lang.Integer mpeId)
          This method returns an Enumeration of CampaignStatisticsAccessBean for the given e-Marketing Spot identifier ordered by the clicks count.
 java.util.Enumeration findByMpeIdOrderByMpeName(java.lang.Integer mpeId)
          This method returns an Enumeration of CampaignStatisticsAccessBean for the given e-Marketing Spot identifier ordered by e-Marketing Spot name.
 java.util.Enumeration findByMpeIdOrderByViewCount(java.lang.Integer mpeId)
          This method returns an Enumeration of CampaignStatisticsAccessBean for the given e-Marketing Spot identifier ordered by the view count.
  CampaignStatistics findByPrimaryKey( CampaignStatisticsKey key)           findByPrimaryKey method comment
 

Method Detail

create

public CampaignStatistics create(java.lang.Integer 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 e-Marketing Spot identifier
arg2 - A initiative identifier
arg3 - A store entity identifier
Throws:
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception

create

public CampaignStatistics create(java.lang.Integer aMpeId,
                                 java.lang.Integer anInitiativeId,
                                 java.lang.Integer aStoreId,
                                 java.lang.Integer aMpeTypeId,
                                 java.lang.String aMpeName,
                                 java.lang.String anInitiativeName,
                                 java.lang.String aMpeTypeName,
                                 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

Parameters:
aMpeId - A e-Marketing Spot identifier
aStoreId - A store entity identifier
aMpeTypeId - A e-Marketing Spot type identifier
aMpeName - A e-Marketing Spot name
aMpeTypeName - A e-Marketing Spot name
newClicks - The number of times the e-Marketing Spot recommendation was clicked by customers
newViews - The number of times (impressions) an e-Marketing Spot recommendation was shown to customers
Throws:
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception

findAll

public java.util.Enumeration findAll()
                              throws java.rmi.RemoteException,
                                     javax.ejb.FinderException

This method returns an Enumeration of CampaignStatisticsAccessBean.

SQL: SELECT * FROM CPGNSTATS WHERE 1=1

Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

findAllOrderByClickCount

public java.util.Enumeration findAllOrderByClickCount()
                                               throws java.rmi.RemoteException,
                                                      javax.ejb.FinderException

This method returns an Enumeration of CampaignStatisticsAccessBean ordered by click count.

SQL: SELECT * FROM CPGNSTATS WHERE 1=1 ORDER BY CLICKS

Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

findAllOrderByMpeName

public java.util.Enumeration findAllOrderByMpeName()
                                            throws java.rmi.RemoteException,
                                                   javax.ejb.FinderException

This method returns an Enumeration of CampaignStatisticsAccessBean ordered by e-Marketing Spot name.

SQL: SELECT * FROM CPGNSTATS WHERE 1=1 ORDER BY MPENAME

Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

findAllOrderByViewCount

public java.util.Enumeration findAllOrderByViewCount()
                                              throws java.rmi.RemoteException,
                                                     javax.ejb.FinderException

This method returns an Enumeration of CampaignStatisticsAccessBean ordered by the views count.

SQL: SELECT * FROM CPGNSTATS WHERE 1=1 ORDER BY VIEWS

Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

findByInitiativeId

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

This method returns an Enumeration of CampaignStatisticsAccessBean for the given initiative identifier.

SQL:
SELECT * FROM CPGNSTATS WHERE INITIATIVE_ID = initiativeId

Parameters:
initiativeId - A initiative identifier
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

findByInitiativeIdOrderByClickCount

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

This method returns an Enumeration of CampaignStatisticsAccessBean for the given initiative identifier ordered by the clicks count.

SQL:
SELECT * FROM CPGNSTATS WHERE INITIATIVE_ID = initiativeId ORDER BY CLICKS

Parameters:
initiativeId - A initiative identifier
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

findByInitiativeIdOrderByMpeName

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

This method returns an Enumeration of CampaignStatisticsAccessBean for the given initiative identifier ordered by e-Marketing Spot name.

SQL:
SELECT * FROM CPGNSTATS WHERE INITIATIVE_ID = initiativeId ORDER BY MPENAME

Parameters:
initiativeId - A initiative identifier
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

findByInitiativeIdOrderByViewCount

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

This method returns an Enumeration of CampaignStatisticsAccessBean for the given initiative identifier ordered by the view count.

SQL:
SELECT * FROM CPGNSTATS WHERE INITIATIVE_ID = initiativeId ORDER BY VIEWS

Parameters:
initiativeId - java.lang.Integer
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

findByMpeId

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

This method returns an Enumeration of CampaignStatisticsAccessBean for the given e-Marketing Spot identifier.

SQL:
SELECT * FROM CPGNSTATS WHERE MPE_ID = mpeId

Parameters:
mpeId - A e-Marketing Spot identifier
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

findByMpeIdOrderByClickCount

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

This method returns an Enumeration of CampaignStatisticsAccessBean for the given e-Marketing Spot identifier ordered by the clicks count.

SQL:
SELECT * FROM CPGNSTATS WHERE MPE_ID = mpeId ORDER BY CLICKS

Parameters:
mpeId - A e-Marketing Spot identifier
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

findByMpeIdOrderByMpeName

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

This method returns an Enumeration of CampaignStatisticsAccessBean for the given e-Marketing Spot identifier ordered by e-Marketing Spot name.

SQL:
SELECT * FROM CPGNSTATS WHERE MPE_ID = mpeId ORDER BY MPENAME

Parameters:
mpeId - A e-Marketing Spot identifier
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

findByMpeIdOrderByViewCount

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

This method returns an Enumeration of CampaignStatisticsAccessBean for the given e-Marketing Spot identifier ordered by the view count.

SQL:
SELECT * FROM CPGNSTATS WHERE MPE_ID = mpeId ORDER BY VIEWS

Parameters:
mpeId - A e-Marketing Spot identifier
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

findByPrimaryKey

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