public class CampaignLoggingECEventListenerImpl
extends com.ibm.commerce.event.impl.AbstractECEventListener
When customizing the campaign statistics, this class needs to be extended
to persist the customer's actions to the CPGNLOG logging table by doing the following:
CampaignLoggingECEventListenerImpl
and override the method
void processCampaignLoggingEvent(CampaignLoggingDataBean)
to update
the CPGNSTATS and CPGNLOG tables.CampaignLoggingECEventListenerImpl
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
CampaignLoggingECEventListenerImpl()
This constructor creates an instance of the campaign logging event listener.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class |
getECEventContainer()
This method returns the class
CampaignLoggingEventContainer as the event
container. |
java.util.Set |
getEvents()
This method returns a set containing the extension name for the campaign logging event.
|
void |
processEvent(CommonBaseEvent commonBaseEvent)
This method processes campaign logging common base events.
|
void |
setTestData(CampaignLoggingDataBean campaignLogData)
Reserved for IBM internal use.
|
public static final java.lang.String COPYRIGHT
public CampaignLoggingECEventListenerImpl()
public java.lang.Class getECEventContainer()
CampaignLoggingEventContainer
as the event
container.getECEventContainer
in class com.ibm.commerce.event.impl.AbstractECEventListener
CampaignLoggingEventContainer
class.AbstractECEventListener.getECEventContainer()
public java.util.Set getEvents()
getEvents
in class com.ibm.commerce.event.impl.AbstractECEventListener
CampaignLogging
event extension name.AbstractECEventListener.getEvents()
public void processEvent(CommonBaseEvent commonBaseEvent)
processEvent
in class com.ibm.commerce.event.impl.AbstractECEventListener
commonBaseEvent
- The common base event to process.processCampaignLoggingEvent(CommonBaseEvent)
,
AbstractECEventListener.processEvent(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent)
public void setTestData(CampaignLoggingDataBean campaignLogData)
campaignLogData
- Reserved for IBM internal use.