public class ExperimentEvaluationECEventListenerImpl
extends com.ibm.commerce.event.impl.AbstractECEventListener
When customizing the experiment statistics, extend this class to correlate a customer's order to a customer's action in their session by doing the following:
StringBuffer addCustomDataToLogQuery(StringBuffer)
boolean processOtherResultType(ResultSet, int, String, List, Integer, Integer, String, String, Integer, CommonBaseEvent)
StringBuffer addCustomDataToStatisticsUpdate(StringBuffer)
int addCustomDataToStatisticsUpdate(PreparedStatement ps, int)
ExperimentEvaluationECEventListenerImpl
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
ExperimentEvaluationECEventListenerImpl()
This method creates an instance of the experiment evaluation event listener.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class |
getECEventContainer()
This method returns the class
OrderSubmissionEventContainer as the event container. |
java.util.Set |
getEvents()
This method returns a set containing the extension name for the order submission event.
|
void |
processEvent(CommonBaseEvent commonBaseEvent)
This method processes order submission common base events.
|
void |
setTestData(java.lang.Long orderId,
java.lang.String sessionId)
Reserved for IBM internal use.
|
public static final java.lang.String COPYRIGHT
public ExperimentEvaluationECEventListenerImpl()
public java.lang.Class getECEventContainer()
OrderSubmissionEventContainer
as the event container.getECEventContainer
in class com.ibm.commerce.event.impl.AbstractECEventListener
OrderSubmissionEventContainer
class.AbstractECEventListener.getECEventContainer()
public java.util.Set getEvents()
getEvents
in class com.ibm.commerce.event.impl.AbstractECEventListener
AbstractECEventListener.getEvents()
public void processEvent(CommonBaseEvent commonBaseEvent)
processEvent
in class com.ibm.commerce.event.impl.AbstractECEventListener
commonBaseEvent
- The common base event to process.processOrderSubmissionEvent(CommonBaseEvent)
,
AbstractECEventListener.processEvent(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent)
public void setTestData(java.lang.Long orderId, java.lang.String sessionId)
orderId
- Reserved for IBM internal use.sessionId
- Reserved for IBM internal use.