public class PEStats extends java.lang.Object implements MktgLogEventHandler
Modifier and Type | Field and Description |
---|---|
java.lang.Long |
catgroup_id
Category ID, maps to the table column with the same name.
|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
java.lang.Integer |
feature_id
Feature ID, maps to the table column with the same name.
|
java.lang.Integer |
pecount
# times feature was searched for, maps to the table column with the same name.
|
java.lang.String |
pefeaturename
Feature name, maps to the table column with the same name.
|
java.lang.Integer |
storeent_id
Store entity ID, maps to the table column with the same name.
|
Constructor and Description |
---|
PEStats()
Constructor for PEStats.
|
Modifier and Type | Method and Description |
---|---|
void |
addEvent()
This method will persist/update a record in the PESTATS table.
|
void |
addEvent(java.util.Hashtable h)
This method will persist/update a record in the PESTATS table.
|
void |
addEvent(java.lang.Long catGroupId,
java.lang.Integer storeId,
java.lang.Integer featureId,
java.lang.String peFeatureName)
This method will persist/update a record in the PESTATS table.
|
void |
addEvent(com.ibm.commerce.datatype.TypedProperty tp)
This method will persist/update a record in the PESTATS table.
|
void |
addEvent(com.ibm.commerce.datatype.TypedProperty tp,
java.lang.Integer storeIdentifier)
This method will persist/update a record in the PESTATS table.
|
java.lang.Long |
getCatgroup_id()
Gets the category ID recorded in the current event.
|
java.lang.Integer |
getFeature_id()
Gets the feature ID recorded in the current event.
|
java.lang.Integer |
getPecount()
Gets the number of product explorer count recorded in the current event.
|
java.lang.String |
getPefeaturename()
Gets the product explorer feature name recorded in the current event.
|
java.lang.Integer |
getStoreent_id()
Gets the store entity ID recorded in the current event.
|
void |
persistEvent()
Persists the current event by inserting the event details into the database.
|
void |
setCatgroup_id(java.lang.Long newCatgroup_id)
Sets the category ID recorded in the current event.
|
void |
setFeature_id(java.lang.Integer newFeature_id)
Sets the feature ID recorded in the current event.
|
void |
setPecount(java.lang.Integer newPecount)
Sets the product explorer count recorded in the current event.
|
void |
setPefeaturename(java.lang.String newPefeaturename)
Sets the product explorer feature name recorded in the current event.
|
void |
setStoreent_id(java.lang.Integer newStoreent_id)
Sets the store entity ID recorded in the current event.
|
public java.lang.Long catgroup_id
public static final java.lang.String COPYRIGHT
public java.lang.Integer feature_id
public java.lang.Integer pecount
public java.lang.String pefeaturename
public java.lang.Integer storeent_id
public void addEvent()
public void addEvent(java.util.Hashtable h)
addEvent
in interface MktgLogEventHandler
h
- The Hashtable
that contains all the column=value pairs. The key
name should be the same name as in the database table. The type
should also be the same (e.g. Integer).public void addEvent(java.lang.Long catGroupId, java.lang.Integer storeId, java.lang.Integer featureId, java.lang.String peFeatureName)
catGroupId
- the category ID to be persistedstoreId
- the store ID to be persistedfeatureId
- the feature ID to be persistedpeFeatureName
- the product explorer feature name to be persistedpublic void addEvent(com.ibm.commerce.datatype.TypedProperty tp)
addEvent
in interface MktgLogEventHandler
tp
- The TypedProperty
that contains all the column=value pairs. The key
name should be the same name as in the database table. The type
should also be the same (e.g. Integer).public void addEvent(com.ibm.commerce.datatype.TypedProperty tp, java.lang.Integer storeIdentifier)
addEvent
in interface MktgLogEventHandler
tp
- The TypedProperty
that contains all the column=value pairs. The key
name should be the same name as in the database table. The type
should also be the same (e.g. Integer).storeIdentifier
- The WCS store Idpublic java.lang.Long getCatgroup_id()
public java.lang.Integer getFeature_id()
public java.lang.Integer getPecount()
public java.lang.String getPefeaturename()
public java.lang.Integer getStoreent_id()
public void persistEvent()
public void setCatgroup_id(java.lang.Long newCatgroup_id)
newCatgroup_id
- category IDpublic void setFeature_id(java.lang.Integer newFeature_id)
newFeature_id
- feature IDpublic void setPecount(java.lang.Integer newPecount)
newPecount
- product explorer countpublic void setPefeaturename(java.lang.String newPefeaturename)
newPefeaturename
- product explorer feature namepublic void setStoreent_id(java.lang.Integer newStoreent_id)
newStoreent_id
- store entity ID