public class OrdersMgp extends java.lang.Object implements MktgLogEventHandler
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
java.lang.Long |
memberGroupId
Member group ID.
|
java.lang.Long |
ordersId
Orders ID.
|
Constructor and Description |
---|
OrdersMgp()
Constructor for OrdersMgp.
|
Modifier and Type | Method and Description |
---|---|
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(com.ibm.commerce.datatype.TypedProperty tp)
This method will persist/update a record in the ORDERSMGP table.
|
void |
addEvent(com.ibm.commerce.datatype.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.
|
public static final java.lang.String COPYRIGHT
public java.lang.Long memberGroupId
public java.lang.Long ordersId
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.Long anOrdersId, java.lang.Long aMemberGroupId)
anOrdersId
- the order ID to be persistedaMemberGroupId
- the member group 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 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 java.lang.Long getMemberGroupId()
public java.lang.Long getOrdersId()
public void persistEvent()