java.lang.Object | +--com.ibm.commerce.marketingcenter.events.dbobjects.CpgnStats
This is the object that will persist (create / update) the event into the CPGNSTATS table.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT IBM copyright notice field. |
java.lang.Integer |
csclicks # times shopper clicked on initiative. |
java.lang.String |
csintvname Initiative name. |
java.lang.String |
csmpename MPE name. |
java.lang.String |
csmpetype MPE Type name. |
java.lang.Integer |
csviews # times initiative was shown to shoppers. |
java.lang.Integer |
intv_id Initiative ID. |
java.lang.Integer |
mpe_id MPE ID. |
java.lang.Integer |
mpet_id MPE Type ID. |
java.lang.Integer |
storeent_id Store entity ID. |
Constructor Summary | |
---|---|
CpgnStats() Constructor for CpgnStats. |
Method Summary | |
---|---|
void |
addClick(java.util.Hashtable h) This method will update a record in the CPGNSTATS table. |
void |
addClick(java.lang.Integer mpeId,
java.lang.Integer initiativeId) This method will update a record in the CPGNSTATS table. |
void |
addClick(
TypedProperty tp) This method will update a record in the CPGNSTATS table. |
void |
addClick(
TypedProperty tp, java.lang.Integer storeIdentifier) This method will update a record in the CPGNSTATS table. |
void |
addEvent() This method will persist/update a record in the CPGNSTATS table. |
void |
addEvent(java.util.Hashtable h) This method will persist/update a record in the CPGNSTATS table. |
void |
addEvent(java.lang.Integer mpeId, java.lang.String mpeName,
java.lang.Integer initiativeId, java.lang.String initiativeName,
java.lang.Integer storeId, java.lang.Integer mpeTypeId,
java.lang.String mpeTypeName) This method will persist/update a record in the CPGNSTATS table. |
void |
addEvent(
TypedProperty tp) This method will persist/update a record in the CPGNSTATS table. |
void |
addEvent(
TypedProperty tp, java.lang.Integer storeIdentifier) This method will persist/update a record in the CPGNSTATS table. |
java.lang.Integer |
getClickCount() Gets the click count recorded in the current event. |
int |
getEventType() Gets the event type recorded in the current event. |
java.lang.Integer |
getInitiativeId() Gets the initiative ID recorded in the current event. |
java.lang.String |
getInitiativeName() Gets the initiative name recorded in the current event. |
java.lang.Integer |
getMpeId() Gets the MPE ID recorded in the current event. |
java.lang.String |
getMpeName() Gets the MPE name recorded in the current event. |
java.lang.String |
getMpeType() Gets the MPE type recorded in the current event. |
java.lang.Integer |
getMpeTypeId() Gets the MPE type ID recorded in the current event. |
java.lang.Integer |
getStoreId() Gets the store ID recorded in the current event. |
java.lang.Integer |
getViewCount() Gets the view count recorded in the current event. |
void |
persistClickEvent() Persists the current click event by inserting the event details into the database. |
void |
persistRecommendationEvent() Persists the current recommendation 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 |
setClickCount(java.lang.Integer newCsclicks) Sets the click count recorded in the current event. |
void |
setEventType(int newEventType) Sets the event type recorded in the current event. |
void |
setInitiativeId(java.lang.Integer newIntv_id) Sets the initiative ID recorded in the current event. |
void |
setInitiativeName(java.lang.String newCsintvname) Sets the initiative name recorded in the current event. |
void |
setMpeId(java.lang.Integer newMpe_id) Sets the MPE ID recorded in the current event. |
void |
setMpeName(java.lang.String newCsmpename) Sets the MPE name recorded in the current event. |
void |
setMpeType(java.lang.String newCsmpetype) Sets the MPE type recorded in the current event. |
void |
setMpeTypeId(java.lang.Integer newMpet_id) Sets the MPE type ID recorded in the current event. |
void |
setStoreId(java.lang.Integer newStore_id) Sets the store ID recorded in the current event. |
void |
setViewCount(java.lang.Integer newCsviews) Sets the view count 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 mpe_id
public java.lang.String csmpename
public java.lang.Integer intv_id
public java.lang.String csintvname
public java.lang.Integer storeent_id
public java.lang.Integer mpet_id
public java.lang.String csmpetype
public java.lang.Integer csviews
public java.lang.Integer csclicks
Constructor Detail |
---|
public CpgnStats()
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.Integer mpeId, java.lang.Integer initiativeId)
mpeId
- The MPE identifierinitiativeId
- The initiative identifer.public 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.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.storeIdentifier
- The WebSphere Commerce store
identifier.public void addEvent(java.lang.Integer mpeId, java.lang.String mpeName, java.lang.Integer initiativeId, java.lang.String initiativeName, java.lang.Integer storeId, java.lang.Integer mpeTypeId, java.lang.String mpeTypeName)
mpeId
- the MPE IDmpeName
- the name of the MPEinitiativeId
- the initiative IDinitiativeName
- the name of the initiativestoreId
- the store IDmpeTypeId
- the MPE type IDmpeTypeName
- the name of the MPE typepublic 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.Integer getClickCount()
public int getEventType()
public java.lang.Integer getInitiativeId()
public java.lang.String getInitiativeName()
public java.lang.Integer getMpeId()
public java.lang.String getMpeName()
public java.lang.String getMpeType()
public java.lang.Integer getMpeTypeId()
public java.lang.Integer getStoreId()
public java.lang.Integer getViewCount()
public void persistClickEvent()
public void persistRecommendationEvent()
public void processEvent()
public void setClickCount(java.lang.Integer newCsclicks)
newCsclicks
- click countpublic void setEventType(int newEventType)
newEventType
- event typepublic void setInitiativeId(java.lang.Integer newIntv_id)
newIntv_id
- initiative IDpublic void setInitiativeName(java.lang.String newCsintvname)
newCsintvname
- initiative namepublic void setMpeId(java.lang.Integer newMpe_id)
newMpe_id
- MPE IDpublic void setMpeName(java.lang.String newCsmpename)
newCsmpename
- MPE namepublic void setMpeType(java.lang.String newCsmpetype)
newCsmpetype
- MPE typepublic void setMpeTypeId(java.lang.Integer newMpet_id)
newMpet_id
- MPE type IDpublic void setStoreId(java.lang.Integer newStore_id)
newStore_id
- store IDpublic void setViewCount(java.lang.Integer newCsviews)
newCsviews
- view count