public class CampaignEventUtilities
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CAMPAIGN
Campaign Logging event data element constant in the common base event for the overall
campaign logging data object.
|
static java.lang.String |
CAMPAIGN_ID
Campaign Logging event data element constant for the campaign ID.
|
static java.lang.String |
CAMPAIGN_LOGGING_EVENT
The campaign logging event name.
|
static java.lang.String |
CAMPAIGN_NAME
Campaign Logging event data element constant for the campaign name.
|
static java.lang.String |
CLICKED
Campaign Logging event data element constant for the flag that indicates whether or
not the campaign was clicked.
|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
static java.lang.String |
EMARKETINGSPOT_ID
Campaign Logging event data element constant for the e-Marketing Spot ID.
|
static java.lang.String |
EMARKETINGSPOT_NAME
Campaign Logging event data element constant for the e-Marketing Spot name.
|
static java.lang.String |
EMARKETINGSPOT_TYPE_ID
Campaign Logging event data element constant for the e-Marketing Spot type ID.
|
static java.lang.String |
EMARKETINGSPOT_TYPE_NAME
Campaign Logging event data element constant for the e-Marketing Spot type name.
|
static java.lang.String |
INITIATIVE_ID
Campaign Logging event data element constant for the initiative ID.
|
static java.lang.String |
INITIATIVE_NAME
Campaign Logging event data element constant for the initiative name.
|
static java.lang.String |
RESULTS
Campaign Logging event data element constant for the campaign results.
|
static java.lang.String |
SHOP_SEGMENTS
Campaign Logging event data element constant for the customer segment identifiers.
|
static java.lang.String |
STORE_ID
Campaign Logging event data element constant for the store ID.
|
static java.lang.String |
USRTRAFFIC_ID
Campaign Logging event data element constant for the user traffic ID.
|
static java.lang.String |
VIEWED
Campaign Logging event data element constant for the flag that indicates whether or
not the campaign was viewed.
|
Modifier and Type | Method and Description |
---|---|
static CampaignLoggingDataBean |
getCampaignLoggingData(CommonBaseEvent cbe)
This method extracts the campaign logging data from the common base event.
|
static void |
sendCampaignLoggingEvent(CampaignLoggingDataBean campaignLogData)
This method sends a campaign logging event to the event infrastructure for processing.
|
static void |
sendCampaignLoggingEvent(CampaignLoggingDataBean campaignLogData,
com.ibm.commerce.command.CommandContext context)
This method sends a campaign logging event to the event infrastructure for processing.
|
static void |
serializeCampaignLoggingData(CommonBaseEvent cbe,
CampaignLoggingDataBean campaignLogData)
This method serializes the campaign logging data and stores it in the common base event.
|
public static final java.lang.String CAMPAIGN
public static final java.lang.String CAMPAIGN_ID
public static final java.lang.String CAMPAIGN_LOGGING_EVENT
public static final java.lang.String CAMPAIGN_NAME
public static final java.lang.String CLICKED
public static final java.lang.String COPYRIGHT
public static final java.lang.String EMARKETINGSPOT_ID
public static final java.lang.String EMARKETINGSPOT_NAME
public static final java.lang.String EMARKETINGSPOT_TYPE_ID
public static final java.lang.String EMARKETINGSPOT_TYPE_NAME
public static final java.lang.String INITIATIVE_ID
public static final java.lang.String INITIATIVE_NAME
public static final java.lang.String RESULTS
public static final java.lang.String SHOP_SEGMENTS
public static final java.lang.String STORE_ID
public static final java.lang.String USRTRAFFIC_ID
public static final java.lang.String VIEWED
public static CampaignLoggingDataBean getCampaignLoggingData(CommonBaseEvent cbe)
cbe
- The common base event.public static void sendCampaignLoggingEvent(CampaignLoggingDataBean campaignLogData)
RaiseECEvent
command runs, it will process the events,
and forward them to the appropriate event listeners.campaignLogData
- The campaign log data.public static void sendCampaignLoggingEvent(CampaignLoggingDataBean campaignLogData, com.ibm.commerce.command.CommandContext context)
RaiseECEvent
command runs, it will process the events,
and forward them to the appropriate event listeners.campaignLogData
- The campaign log data.context
- The command context.public static void serializeCampaignLoggingData(CommonBaseEvent cbe, CampaignLoggingDataBean campaignLogData)
cbe
- The common base event.campaignLogData
- The campaign logging data.