java.lang.Object | +--com.ibm.commerce.marketingcenter.events.dbobjects.PCStats
This is the object that will persist (create / update) the event into the PCSTATS 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 |
pcclicks # products clicked on by shopper, maps to the table column with the same name. |
java.lang.Integer |
pcviews # products shown to shopper (impressions), 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 | |
---|---|
PCStats() Constructor for PCStats. |
Method Summary | |
---|---|
void |
addClick(java.util.Hashtable h) This method will update a record in the PCSTATS table. |
void |
addClick(java.lang.Long catGroupId,
java.lang.Integer storeId) This method will update a record in the PCSTATS table. |
void |
addClick(
TypedProperty tp) This method will update a record in the PCSTATS table. |
void |
addClick(
TypedProperty tp, java.lang.Integer storeIdentifier) This method will update a record in the PCSTATS table. |
void |
addEvent() This method will persist/update a record in the PCSTATS table. |
void |
addEvent(java.util.Hashtable h) This method will persist/update a record in the PCSTATS table. |
void |
addEvent(java.lang.Long catGroupId,
java.lang.Integer storeId) This method will persist/update a record in the PCSTATS table. |
void |
addEvent(
TypedProperty tp) This method will persist/update a record in the PCSTATS table. |
void |
addEvent(
TypedProperty tp, java.lang.Integer storeIdentifier) This method will persist/update a record in the PCSTATS table. |
java.lang.Long |
getCatgroup_id() Gets the category ID recorded in the current event. |
int |
getEventType() Gets the event type recorded in the current event. |
java.lang.Integer |
getPcclicks() Gets the number of product comparison clicks recorded in the current event. |
java.lang.Integer |
getPcviews() Gets the number of product comparison views recorded in the current event. |
java.lang.Integer |
getStoreent_id() Gets the store entity ID recorded in the current event. |
void |
persistClickEvent() Persists the current click event by inserting the event details into the database. |
void |
persistInvocationEvent() Persists the invocation event by inserting the event details into the database. |
void |
processEvent() Processes the current click event by persisting the event details into the database. |
void |
setCatgroup_id(java.lang.Long newCatgroup_id) Sets the category ID recorded in the current event. |
void |
setEventType(int newEventType) Sets the event type recorded in the current event. |
void |
setPcclicks(java.lang.Integer newPcclicks) Sets the number of product comparison clicks recorded in the current event. |
void |
setPcviews(java.lang.Integer newPcviews) Sets the number of product comparison views 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.Long catgroup_id
public java.lang.Integer storeent_id
public java.lang.Integer pcviews
public java.lang.Integer pcclicks
Constructor Detail |
---|
public PCStats()
Method Detail |
---|
public void addClick(TypedProperty tp)
addClick
in interface
MktgClickEventHandler
tp
- The TypedProperty
that contains all the
column=value pairs that are components of the primary key. The
TypedProperty
key names should be the same names as in the
database table. The type should also be the same (e.g.
Integer).public void addClick(TypedProperty tp, java.lang.Integer storeIdentifier)
addClick
in interface
MktgClickEventHandler
tp
- The TypedProperty
that contains all the
column=value pairs that are components of the primary key. The
TypedProperty
key names should be the same names as in the
database table. The type should also be the same (e.g. Integer).storeIdentifier
- Not used since this is not a component of
the primary key.public void addClick(java.lang.Long catGroupId, java.lang.Integer storeId)
catGroupId
- the category ID to be persistedstoreId
- the store ID to be persistedpublic void addClick(java.util.Hashtable h)
addClick
in interface
MktgClickEventHandler
h
- The Hashtable
that contains all the
column=value pairs that are components of the primary key. The
Hashtable
key names should be the same names as in the database
table. The type should also be the same (e.g. Integer).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)
catGroupId
- the category ID to be persistedstoreId
- the store ID 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 int getEventType()
public java.lang.Integer getPcclicks()
public java.lang.Integer getPcviews()
public java.lang.Integer getStoreent_id()
public void persistClickEvent()
public void persistInvocationEvent()
public void processEvent()
public void setCatgroup_id(java.lang.Long newCatgroup_id)
newCatgroup_id
- category IDpublic void setEventType(int newEventType)
newEventType
- event typepublic void setPcclicks(java.lang.Integer newPcclicks)
newPcclicks
- product comparison click
countpublic void setPcviews(java.lang.Integer newPcviews)
newPcviews
- product comparison view countpublic void setStoreent_id(java.lang.Integer newStoreent_id)
newStoreent_id
- store entity ID