java.lang.Object | +--com.ibm.commerce.marketingcenter.events.dbobjects.PEStats
This is the object that will persist (create / update) the event into the PESTATS table.
Field Summary | |
---|---|
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 Summary | |
---|---|
PEStats() Constructor for PEStats. |
Method Summary | |
---|---|
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(
TypedProperty tp) This method will persist/update a record in the PESTATS table. |
void |
addEvent(
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public java.lang.Integer feature_id
public java.lang.String pefeaturename
public java.lang.Integer storeent_id
public java.lang.Long catgroup_id
public java.lang.Integer pecount
Constructor Detail |
---|
public PEStats()
Method Detail |
---|
public void addEvent()
public void addEvent(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(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 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(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 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