java.lang.Object | +--com.ibm.commerce.marketingcenter.events.dbobjects.PAStats
This is the object that will persist (create / update) the event into the PASTATS table.
Field Summary | |
---|---|
java.lang.Long |
catgroup_id Category group ID, maps to the table column with the same name. |
static java.lang.String |
COPYRIGHT IBM copyright notice field. |
java.lang.Integer |
metaphortype_id Metaphor type ID, maps to the table column with the same name. |
java.lang.Integer |
pacount # times shown to shoppers (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 | |
---|---|
PAStats() Constructor for PAStats. |
Method Summary | |
---|---|
void |
addEvent() This method will persist/update a record in the PASTATS table. |
void |
addEvent(java.util.Hashtable h) This method will persist/update a record in the PASTATS table. |
void |
addEvent(java.lang.Integer metaphorTypeId, java.lang.Integer storeId,
java.lang.Long catGroupId) This method will persist/update a record in the PASTATS table. |
void |
addEvent(
TypedProperty tp) This method will persist/update a record in the PASTATS table. |
void |
addEvent(
TypedProperty tp, java.lang.Integer storeIdentifier) This method will persist/update a record in the PASTATS table. |
java.lang.Long |
getCatgroup_id() Gets the category ID recorded in the current event. |
java.lang.Integer |
getMetaphortype_id() Gets the metaphor type ID recorded in the current event. |
java.lang.Integer |
getPacount() Gets the product advisor count 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 |
setMetaphortype_id(java.lang.Integer newMetaphortype_id) Sets the metaphor type ID recorded in the current event. |
void |
setPacount(java.lang.Integer newPacount) Sets the number of product advisor count 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 metaphortype_id
public java.lang.Integer storeent_id
public java.lang.Long catgroup_id
public java.lang.Integer pacount
Constructor Detail |
---|
public PAStats()
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.Integer metaphorTypeId, java.lang.Integer storeId, java.lang.Long catGroupId)
metaphorTypeId
- the metaphor type ID to be persistedstoreId
- the store ID to be persistedcatGroupId
- the category 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 java.lang.Integer getMetaphortype_id()
public java.lang.Integer getPacount()
public java.lang.Integer getStoreent_id()
public void persistEvent()
public void setCatgroup_id(java.lang.Long newCatgroup_id)
newCatgroup_id
- category IDpublic void setMetaphortype_id(java.lang.Integer newMetaphortype_id)
newMetaphortype_id
- metaphor type IDpublic void setPacount(java.lang.Integer newPacount)
newPacount
- product advisor countpublic void setStoreent_id(java.lang.Integer newStoreent_id)
newStoreent_id
- store entity ID