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

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

public class SalesAssistantStatisticsAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements SalesAssistantStatisticsAccessBeanData

This table captures statistics related to the Sales Assistant Product Advisor metaphor.

See Also:
Serialized Form

Constructor Summary
SalesAssistantStatisticsAccessBean()
          constructor
SalesAssistantStatisticsAccessBean(java.lang.Integer arg0, java.lang.Integer arg1, java.lang.Integer arg2)
          constructor
SalesAssistantStatisticsAccessBean(java.lang.Integer arg0, java.lang.Integer arg1, java.lang.Integer arg2, java.lang.Long arg3, java.lang.Integer arg4)
          constructor
SalesAssistantStatisticsAccessBean(javax.ejb.EJBObject o)
          constructor
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
protected  java.lang.String defaultJNDIName()
           
 java.util.Enumeration findByStoreId(java.lang.Integer arg0)
          This method returns an Enumeration of SalesAssistantStatisticsAccessBean for the given store entity identifier.
 java.lang.String getCatGroupId()
          This method provides access to the SASTATS.CATGROUP_ID column of DB2 type BIGINT.
 java.lang.Long getCatGroupIdInEJBType()
          This method provides access to the SASTATS.CATGROUP_ID column of DB2 type BIGINT.
 java.lang.String getConceptId()
          This method provides access to the SASTATS.CONCEPT_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getConceptIdInEJBType()
          This method provides access to the SASTATS.CONCEPT_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getSaCount()
          This method provides access to the SASTATS.COUNT column of DB2 type INTEGER.
 java.lang.Integer getSaCountInEJBType()
          This method provides access to the SASTATS.COUNT column of DB2 type INTEGER.
 java.lang.String getStoreId()
          This method provides access to the SASTATS.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getStoreIdInEJBType()
          This method provides access to the SASTATS.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getTreeId()
          This method provides access to the SASTATS.TREE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getTreeIdInEJBType()
          This method provides access to the SASTATS.TREE_ID column of DB2 type INTEGER NOT NULL.
 void incrementCount()
          Method to increment the number of times the particular concept or tree or store was selected (answered) by the customer
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 SASTATS.CATGROUP_ID column of DB2 type BIGINT.
 void setCatGroupId(java.lang.String newValue)
          This method provides access to the SASTATS.CATGROUP_ID column of DB2 type BIGINT.
 void setConceptId(java.lang.Integer newValue)
          This method provides access to the SASTATS.CONCEPT_ID column of DB2 type INTEGER NOT NULL.
 void setConceptId(java.lang.String newValue)
          This method provides access to the SASTATS.CONCEPT_ID column of DB2 type INTEGER NOT NULL.
 void setInitKey_conceptId(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 setInitKey_treeId(java.lang.String newValue)
          Set the primary key for this object
 void setSaCount(java.lang.Integer newValue)
          This method provides access to the SASTATS.COUNT column of DB2 type INTEGER.
 void setSaCount(java.lang.String newValue)
          This method provides access to the SASTATS.COUNT column of DB2 type INTEGER.
 void setStoreId(java.lang.Integer newValue)
          This method provides access to the SASTATS.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 void setStoreId(java.lang.String newValue)
          This method provides access to the SASTATS.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 void setTreeId(java.lang.Integer newValue)
          This method provides access to the SASTATS.TREE_ID column of DB2 type INTEGER NOT NULL.
 void setTreeId(java.lang.String newValue)
          This method provides access to the SASTATS.TREE_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

SalesAssistantStatisticsAccessBean

public SalesAssistantStatisticsAccessBean()
constructor

SalesAssistantStatisticsAccessBean

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

SalesAssistantStatisticsAccessBean

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

SalesAssistantStatisticsAccessBean

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

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 SalesAssistantStatisticsAccessBean for the given store entity identifier.

SQL:
SELECT * FROM SASTATS WHERE STOREENT_ID =sID GROUP BY TREE_ID,CATGROUP_ID,CONCEPT_ID,STOREENT_ID,COUNT ORDER BY TREE_ID,CATGROUP_ID

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_treeId

public void setInitKey_treeId(java.lang.String newValue)

Set the primary key for this object

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

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_conceptId

public void setInitKey_conceptId(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

getSaCount

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

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

The following is a description of this column:

The number of times the particular concept or tree or store was selected (answered) by the customer.

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

getSaCountInEJBType

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

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

The following is a description of this column:

The number of times the particular concept or tree or store was selected (answered) by the customer.

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

setSaCount

public void setSaCount(java.lang.String newValue)

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

The following is a description of this column:

The number of times the particular concept or tree or store was selected (answered) by the customer.

Specified by:
setSaCount in interface SalesAssistantStatisticsAccessBeanData
Parameters:
newValue - String
Returns:
void

setSaCount

public void setSaCount(java.lang.Integer newValue)

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

The following is a description of this column:

The number of times the particular concept or tree or store was selected (answered) by the customer.

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

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 SASTATS.CATGROUP_ID column of DB2 type BIGINT.

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 SalesAssistantStatisticsAccessBeanData
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 SASTATS.CATGROUP_ID column of DB2 type BIGINT.

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 SASTATS.CATGROUP_ID column of DB2 type BIGINT.

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 SalesAssistantStatisticsAccessBeanData
Parameters:
newValue - String
Returns:
void

setCatGroupId

public void setCatGroupId(java.lang.Long newValue)

This method provides access to the SASTATS.CATGROUP_ID column of DB2 type BIGINT.

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

getConceptId

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

This method provides access to the SASTATS.CONCEPT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

This is the concept identifier as described in the CONCEPTID column of the ICKNOWLEDG table.

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

getConceptIdInEJBType

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

This method provides access to the SASTATS.CONCEPT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

This is the concept identifier as described in the CONCEPTID column of the ICKNOWLEDG table.

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

setConceptId

public void setConceptId(java.lang.String newValue)

This method provides access to the SASTATS.CONCEPT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

This is the concept identifier as described in the CONCEPTID column of the ICKNOWLEDG table.

Specified by:
setConceptId in interface SalesAssistantStatisticsAccessBeanData
Parameters:
newValue - String
Returns:
void

setConceptId

public void setConceptId(java.lang.Integer newValue)

This method provides access to the SASTATS.CONCEPT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

This is the concept identifier as described in the CONCEPTID column of the ICKNOWLEDG 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 SASTATS.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 SalesAssistantStatisticsAccessBeanData
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 SASTATS.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 SASTATS.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 SalesAssistantStatisticsAccessBeanData
Parameters:
newValue - String
Returns:
void

setStoreId

public void setStoreId(java.lang.Integer newValue)

This method provides access to the SASTATS.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

getTreeId

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

This method provides access to the SASTATS.TREE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The tree identifier as described in the TREEID column of the ICKNOWLEDG table.

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

getTreeIdInEJBType

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

This method provides access to the SASTATS.TREE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The tree identifier as described in the TREEID column of the ICKNOWLEDG table.

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

setTreeId

public void setTreeId(java.lang.String newValue)

This method provides access to the SASTATS.TREE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The tree identifier as described in the TREEID column of the ICKNOWLEDG table.

Specified by:
setTreeId in interface SalesAssistantStatisticsAccessBeanData
Parameters:
newValue - String
Returns:
void

setTreeId

public void setTreeId(java.lang.Integer newValue)

This method provides access to the SASTATS.TREE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The tree identifier as described in the TREEID column of the ICKNOWLEDG table.

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

incrementCount

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

Method to increment the number of times the particular concept or tree or store was selected (answered) by the customer

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