java.lang.Object | +--com.ibm.commerce.marketingcenter.events.dbobjects.SAStats
This is the object that will persist (create / update) the event into the SASTATS table.
Field Summary | |
---|---|
java.lang.Long |
catgroup_id Category ID, maps to the table column with the same name. |
java.lang.Integer |
concept_id Concept ID, maps to the table column with the same name. |
static java.lang.String |
COPYRIGHT IBM copyright notice field. |
java.lang.Integer |
sacount Sales assistant count, 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. |
java.lang.Integer |
tree_id Tree ID, maps to the table column with the same name. |
Constructor Summary | |
---|---|
SAStats() Constructor for SAStats. |
Method Summary | |
---|---|
void |
addClick() This method will update a record in the SASTATS table. |
void |
addClick(java.util.Hashtable h) This method will update a record in the SASTATS table. |
void |
addClick(
TypedProperty tp) This method will update a record in the SASTATS table. |
void |
addClick(
TypedProperty tp, java.lang.Integer storeIdentifier) This method will update a record in the SASTATS table. |
void |
addEvent() This method will persist/update a record in the SASTATS table. |
void |
addEvent(java.util.Hashtable h) This method will persist/update a record in the SASTATS table. |
void |
addEvent(java.lang.Integer treeId, java.lang.Integer storeId,
java.lang.Integer conceptId, java.lang.Long catGroupId) This method will persist/update a record in the SASTATS table. |
void |
addEvent(
TypedProperty tp) This method will persist/update a record in the SASTATS table. |
void |
addEvent(
TypedProperty tp, java.lang.Integer storeIdentifier) This method will persist/update a record in the SASTATS table. |
java.lang.Long |
getCatgroup_id() Gets the category ID recorded in the current event. |
java.lang.Integer |
getConcept_id() Gets the concept ID recorded in the current event. |
int |
getEventType() Gets the event type recorded in the current event. |
java.lang.Integer |
getSacount() Gets the number of sales assistant count recorded in the current event. |
java.lang.Integer |
getStoreent_id() Gets the store entity ID recorded in the current event. |
java.lang.Integer |
getTree_id() Gets the tree ID recorded in the current event. |
void |
persistClickEvent() Persists the current click event by inserting the event details into the database. |
void |
persistEvent() Persists the current 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 |
setConcept_id(java.lang.Integer newConcept_id) Sets the concept ID recorded in the current event. |
void |
setEventType(int newEventType) Sets the event type recorded in the current event. |
void |
setSacount(java.lang.Integer newSacount) Sets the sales assistant count recorded in the current event. |
void |
setStoreent_id(java.lang.Integer newStoreent_id) Sets the store entity ID recorded in the current event. |
void |
setTree_id(java.lang.Integer newTree_id) Sets the tree 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 tree_id
public java.lang.Integer storeent_id
public java.lang.Integer concept_id
public java.lang.Long catgroup_id
public java.lang.Integer sacount
Constructor Detail |
---|
public SAStats()
Method Detail |
---|
public void addClick()
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.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.Integer treeId, java.lang.Integer storeId, java.lang.Integer conceptId, java.lang.Long catGroupId)
treeId
- the tree ID to be persistedstoreId
- the store ID to be persistedconceptId
- the concept 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 getConcept_id()
public int getEventType()
public java.lang.Integer getSacount()
public java.lang.Integer getStoreent_id()
public java.lang.Integer getTree_id()
public void persistClickEvent()
public void persistEvent()
public void processEvent()
public void setCatgroup_id(java.lang.Long newCatgroup_id)
newCatgroup_id
- category IDpublic void setConcept_id(java.lang.Integer newConcept_id)
newConcept_id
- concept IDpublic void setEventType(int newEventType)
newEventType
- event typepublic void setSacount(java.lang.Integer newSacount)
newSacount
- sales assistant countpublic void setStoreent_id(java.lang.Integer newStoreent_id)
newStoreent_id
- store entity IDpublic void setTree_id(java.lang.Integer newTree_id)
newTree_id
- tree ID