com.ibm.commerce.marketingcenter.events.objects
Class ProductExplorerStatisticsAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
        |
        +--com.ibm.commerce.marketingcenter.events.objects.ProductExplorerStatisticsAccessBean
All Implemented Interfaces:
ProductExplorerStatisticsAccessBeanData

public class ProductExplorerStatisticsAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements ProductExplorerStatisticsAccessBeanData

This table captures statistics related to the Product Explorer Product Advisor metaphor.

See Also:
Serialized Form

Constructor Summary
ProductExplorerStatisticsAccessBean()
          constructor
ProductExplorerStatisticsAccessBean(javax.ejb.EJBObject o)
          constructor
ProductExplorerStatisticsAccessBean(java.lang.Long arg0, java.lang.Integer arg1, java.lang.Integer arg2)
          constructor
ProductExplorerStatisticsAccessBean(java.lang.Long arg0, java.lang.Integer arg1, java.lang.Integer arg2, java.lang.String arg3, java.lang.Integer arg4)
          constructor
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
protected  java.lang.String defaultJNDIName()
           
 java.util.Enumeration findByCatGroupIdAndStoreId(java.lang.Long arg0, java.lang.Integer arg1)
          This method returns an Enumeration of ProductExplorerStatisticsAccessBean for the given category group identifier and store entity identifier.
 java.util.Enumeration findByFeatureIdAndStoreId(java.lang.Integer arg0, java.lang.Integer arg1)
          This method returns an Enumeration of ProductExplorerStatisticsAccessBean for the given feature identifier and store entity identifier.
 java.util.Enumeration findByStoreId(java.lang.Integer arg0)
          This method returns an Enumeration of ProductExplorerStatisticsAccessBean for the given store entity identifier.
 java.lang.String getCatGroupId()
          This method provides access to the PESTATS.CATGROUP_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getCatGroupIdInEJBType()
          This method provides access to the PESTATS.CATGROUP_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getFeatureId()
          This method provides access to the PESTATS.FEATURE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getFeatureIdInEJBType()
          This method provides access to the PESTATS.FEATURE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getPeCount()
          This method provides access to the PESTATS.COUNT column of DB2 type INTEGER.
 java.lang.Integer getPeCountInEJBType()
          This method provides access to the PESTATS.COUNT column of DB2 type INTEGER.
 java.lang.String getPeFeatureName()
          This method provides access to the PESTATS.FEATURENAME column of DB2 type VARCHAR(64).
 java.lang.String getStoreId()
          This method provides access to the PESTATS.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getStoreIdInEJBType()
          This method provides access to the PESTATS.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 void incrementCount()
          Method to increment the number of times that the feature was searched.
protected  void instantiateEJB()
           
protected  boolean instantiateEJBByPrimaryKey()
           
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setCatGroupId(java.lang.Long newValue)
          This method provides access to the PESTATS.CATGROUP_ID column of DB2 type BIGINT NOT NULL.
 void setCatGroupId(java.lang.String newValue)
          This method provides access to the PESTATS.CATGROUP_ID column of DB2 type BIGINT NOT NULL.
 void setFeatureId(java.lang.Integer newValue)
          This method provides access to the PESTATS.FEATURE_ID column of DB2 type INTEGER NOT NULL.
 void setFeatureId(java.lang.String newValue)
          This method provides access to the PESTATS.FEATURE_ID column of DB2 type INTEGER NOT NULL.
 void setInitKey_catGroupId(java.lang.String newValue)
          Set the primary key for this object
 void setInitKey_featureId(java.lang.String newValue)
          Set the primary key for this object
 void setInitKey_storeId(java.lang.String newValue)
          Set the primary key for this object
 void setPeCount(java.lang.Integer newValue)
          This method provides access to the PESTATS.COUNT column of DB2 type INTEGER.
 void setPeCount(java.lang.String newValue)
          This method provides access to the PESTATS.COUNT column of DB2 type INTEGER.
 void setPeFeatureName(java.lang.String newValue)
          This method provides access to the PESTATS.FEATURENAME column of DB2 type VARCHAR(64).
 void setStoreId(java.lang.Integer newValue)
          This method provides access to the PESTATS.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 void setStoreId(java.lang.String newValue)
          This method provides access to the PESTATS.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProductExplorerStatisticsAccessBean

public ProductExplorerStatisticsAccessBean()
constructor

ProductExplorerStatisticsAccessBean

public ProductExplorerStatisticsAccessBean(javax.ejb.EJBObject o)
                                    throws java.rmi.RemoteException
constructor
Parameters:
o - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException

ProductExplorerStatisticsAccessBean

public ProductExplorerStatisticsAccessBean(java.lang.Long arg0,
                                           java.lang.Integer arg1,
                                           java.lang.Integer arg2)
                                    throws javax.ejb.CreateException,
                                           java.rmi.RemoteException,
                                           javax.naming.NamingException
constructor
Parameters:
arg0 - java.lang.Long
arg1 - java.lang.Integer
arg2 - java.lang.Integer
Throws:
javax.ejb.CreateException
java.rmi.RemoteException
javax.naming.NamingException

ProductExplorerStatisticsAccessBean

public ProductExplorerStatisticsAccessBean(java.lang.Long arg0,
                                           java.lang.Integer arg1,
                                           java.lang.Integer arg2,
                                           java.lang.String arg3,
                                           java.lang.Integer arg4)
                                    throws javax.ejb.CreateException,
                                           java.rmi.RemoteException,
                                           javax.naming.NamingException
constructor
Parameters:
arg0 - java.lang.Long
arg1 - java.lang.Integer
arg2 - java.lang.Integer
arg3 - java.lang.String
arg4 - java.lang.Integer
Throws:
javax.ejb.CreateException
java.rmi.RemoteException
javax.naming.NamingException
Method Detail

findByCatGroupIdAndStoreId

public java.util.Enumeration findByCatGroupIdAndStoreId(java.lang.Long arg0,
                                                        java.lang.Integer arg1)
                                                 throws java.rmi.RemoteException,
                                                        javax.ejb.FinderException,
                                                        javax.naming.NamingException

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

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

findByFeatureIdAndStoreId

public java.util.Enumeration findByFeatureIdAndStoreId(java.lang.Integer arg0,
                                                       java.lang.Integer arg1)
                                                throws java.rmi.RemoteException,
                                                       javax.ejb.FinderException,
                                                       javax.naming.NamingException

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

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

findByStoreId

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

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

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

setInitKey_storeId

public void setInitKey_storeId(java.lang.String newValue)

Set the primary key for this object

Parameters:
newValue - java.lang.String
Returns:
void

setInitKey_featureId

public void setInitKey_featureId(java.lang.String newValue)

Set the primary key for this object

Parameters:
newValue - java.lang.String
Returns:
void

setInitKey_catGroupId

public void setInitKey_catGroupId(java.lang.String newValue)

Set the primary key for this object

Parameters:
newValue - java.lang.String
Returns:
void

defaultJNDIName

protected java.lang.String defaultJNDIName()
Returns:
String

instantiateEJB

protected void instantiateEJB()
                       throws java.rmi.RemoteException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException
Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

instantiateEJBByPrimaryKey

protected boolean instantiateEJBByPrimaryKey()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.naming.NamingException
Returns:
boolean
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.naming.NamingException

commitCopyHelper

public void commitCopyHelper()
                      throws java.rmi.RemoteException,
                             javax.ejb.CreateException,
                             javax.ejb.FinderException,
                             javax.naming.NamingException

Update(flush) data to the EJBObject (persistent storage).

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

refreshCopyHelper

public void refreshCopyHelper()
                       throws java.rmi.RemoteException,
                              javax.ejb.CreateException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException

Load data from the EJBObject.

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getCatGroupId

public java.lang.String getCatGroupId()
                               throws java.rmi.RemoteException,
                                      javax.ejb.CreateException,
                                      javax.ejb.FinderException,
                                      javax.naming.NamingException

This method provides access to the PESTATS.CATGROUP_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The category group identifier as described in the CATGROUP_ID column of the CATGROUP table.

Specified by:
getCatGroupId in interface ProductExplorerStatisticsAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getCatGroupIdInEJBType

public java.lang.Long getCatGroupIdInEJBType()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.ejb.FinderException,
                                             javax.naming.NamingException

This method provides access to the PESTATS.CATGROUP_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The category group identifier as described in the CATGROUP_ID column of the CATGROUP table.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setCatGroupId

public void setCatGroupId(java.lang.String newValue)

This method provides access to the PESTATS.CATGROUP_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The category group identifier as described in the CATGROUP_ID column of the CATGROUP table.

Specified by:
setCatGroupId in interface ProductExplorerStatisticsAccessBeanData
Parameters:
newValue - String
Returns:
void

setCatGroupId

public void setCatGroupId(java.lang.Long newValue)

This method provides access to the PESTATS.CATGROUP_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The category group identifier as described in the CATGROUP_ID column of the CATGROUP table.

Parameters:
newValue - java.lang.Long
Returns:
void

getFeatureId

public java.lang.String getFeatureId()
                              throws java.rmi.RemoteException,
                                     javax.ejb.CreateException,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException

This method provides access to the PESTATS.FEATURE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

This is the feature identifier as described in the FEATUREID column of the ICEXPLFEAT table.

Specified by:
getFeatureId in interface ProductExplorerStatisticsAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getFeatureIdInEJBType

public java.lang.Integer getFeatureIdInEJBType()
                                        throws java.rmi.RemoteException,
                                               javax.ejb.CreateException,
                                               javax.ejb.FinderException,
                                               javax.naming.NamingException

This method provides access to the PESTATS.FEATURE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

This is the feature identifier as described in the FEATUREID column of the ICEXPLFEAT table.

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setFeatureId

public void setFeatureId(java.lang.String newValue)

This method provides access to the PESTATS.FEATURE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

This is the feature identifier as described in the FEATUREID column of the ICEXPLFEAT table.

Specified by:
setFeatureId in interface ProductExplorerStatisticsAccessBeanData
Parameters:
newValue - String
Returns:
void

setFeatureId

public void setFeatureId(java.lang.Integer newValue)

This method provides access to the PESTATS.FEATURE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

This is the feature identifier as described in the FEATUREID column of the ICEXPLFEAT table.

Parameters:
newValue - java.lang.Integer
Returns:
void

getStoreId

public java.lang.String getStoreId()
                            throws java.rmi.RemoteException,
                                   javax.ejb.CreateException,
                                   javax.ejb.FinderException,
                                   javax.naming.NamingException

This method provides access to the PESTATS.STOREENT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The store entity identifier as described in the STOREENT_ID column of the STOREENT table.

Specified by:
getStoreId in interface ProductExplorerStatisticsAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getStoreIdInEJBType

public java.lang.Integer getStoreIdInEJBType()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.ejb.FinderException,
                                             javax.naming.NamingException

This method provides access to the PESTATS.STOREENT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The store entity identifier as described in the STOREENT_ID column of the STOREENT table.

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setStoreId

public void setStoreId(java.lang.String newValue)

This method provides access to the PESTATS.STOREENT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The store entity identifier as described in the STOREENT_ID column of the STOREENT table.

Specified by:
setStoreId in interface ProductExplorerStatisticsAccessBeanData
Parameters:
newValue - String
Returns:
void

setStoreId

public void setStoreId(java.lang.Integer newValue)

This method provides access to the PESTATS.STOREENT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The store entity identifier as described in the STOREENT_ID column of the STOREENT table.

Parameters:
newValue - java.lang.Integer
Returns:
void

getPeCount

public java.lang.String getPeCount()
                            throws java.rmi.RemoteException,
                                   javax.ejb.CreateException,
                                   javax.ejb.FinderException,
                                   javax.naming.NamingException

This method provides access to the PESTATS.COUNT column of DB2 type INTEGER.

The following is a description of this column:

The total number of times this a feature was searched for in Product Explorer.

Specified by:
getPeCount in interface ProductExplorerStatisticsAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getPeCountInEJBType

public java.lang.Integer getPeCountInEJBType()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.ejb.FinderException,
                                             javax.naming.NamingException

This method provides access to the PESTATS.COUNT column of DB2 type INTEGER.

The following is a description of this column:

The total number of times this a feature was searched for in Product Explorer.

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setPeCount

public void setPeCount(java.lang.String newValue)

This method provides access to the PESTATS.COUNT column of DB2 type INTEGER.

The following is a description of this column:

The total number of times this a feature was searched for in Product Explorer.

Specified by:
setPeCount in interface ProductExplorerStatisticsAccessBeanData
Parameters:
newValue - String
Returns:
void

setPeCount

public void setPeCount(java.lang.Integer newValue)

This method provides access to the PESTATS.COUNT column of DB2 type INTEGER.

The following is a description of this column:

The total number of times this a feature was searched for in Product Explorer.

Parameters:
newValue - java.lang.Integer
Returns:
void

getPeFeatureName

public java.lang.String getPeFeatureName()
                                  throws java.rmi.RemoteException,
                                         javax.ejb.CreateException,
                                         javax.ejb.FinderException,
                                         javax.naming.NamingException

This method provides access to the PESTATS.FEATURENAME column of DB2 type VARCHAR(64).

The following is a description of this column:

This is the feature name as described in the NAME column of the ICEXPLDESC table.

Specified by:
getPeFeatureName in interface ProductExplorerStatisticsAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setPeFeatureName

public void setPeFeatureName(java.lang.String newValue)

This method provides access to the PESTATS.FEATURENAME column of DB2 type VARCHAR(64).

The following is a description of this column:

This is the feature name as described in the NAME column of the ICEXPLDESC table.

Specified by:
setPeFeatureName in interface ProductExplorerStatisticsAccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void

incrementCount

public void incrementCount()
                    throws java.rmi.RemoteException,
                           javax.ejb.FinderException,
                           javax.naming.NamingException

Method to increment the number of times that the feature was searched.

Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException
javax.naming.NamingException