java.lang.Object | +--com.ibm.commerce.marketingcenter.events.dbobjects.OrdersMgp
This is the object that will persist the event into the OrdersMgp table.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT IBM copyright notice field. |
java.lang.Long |
memberGroupId Member group ID. |
java.lang.Long |
ordersId Orders ID. |
Constructor Summary | |
---|---|
OrdersMgp() Constructor for OrdersMgp. |
Method Summary | |
---|---|
void |
addEvent() This method will persist/update a record in the ORDERSMGP table. |
void |
addEvent(java.util.Hashtable h) This method will persist/update a record in the ORDERSMGP table. |
void |
addEvent(java.lang.Long anOrdersId,
java.lang.Long aMemberGroupId) This method will persist/update a record in the ORDERSMGP table. |
void |
addEvent(
TypedProperty tp) This method will persist/update a record in the ORDERSMGP table. |
void |
addEvent(
TypedProperty tp, java.lang.Integer anInt) This method will persist/update a record in the ORDERSMGP table. |
java.lang.Long |
getMemberGroupId() Gets the member group ID recorded in the current event. |
java.lang.Long |
getOrdersId() Gets the order ID recorded in the current event. |
void |
persistEvent() Persists the current event by inserting the event details into the database. |
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 ordersId
public java.lang.Long memberGroupId
Constructor Detail |
---|
public OrdersMgp()
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 anInt)
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).anInt
- optional Integer
type
parameterpublic void addEvent(java.lang.Long anOrdersId, java.lang.Long aMemberGroupId)
anOrdersId
- the order ID to be persistedaMemberGroupId
- the member group 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 getMemberGroupId()
public java.lang.Long getOrdersId()
public void persistEvent()