public class PAStats extends java.lang.Object implements MktgLogEventHandler
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
PAStats()
Constructor for PAStats.
|
Modifier and Type | Method and Description |
---|---|
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(com.ibm.commerce.datatype.TypedProperty tp)
This method will persist/update a record in the PASTATS table.
|
void |
addEvent(com.ibm.commerce.datatype.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.
|
public java.lang.Long catgroup_id
public static final java.lang.String COPYRIGHT
public java.lang.Integer metaphortype_id
public java.lang.Integer pacount
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.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(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 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