public class CampaignLoggingDataBean
extends java.lang.Object
CampaignLoggingDataBean eldb = new CampaignLoggingDataBean(eMarketingSpotId, initiativeId, storeId); eldb.setCampaignId(campaignId); eldb.setCampaignName(campaignName); eldb.setEMarketingSpotName(eMarketingSpotName); eldb.setEMarketingSpotTypeId(eMarketingSpotTypeId); eldb.setEMarketingSpotTypeName(eMarketingSpotTypeName); eldb.setInitiativeName(initiativeName); eldb.setResults(results); eldb.setShopSegments(shopSegments); eldb.setUsrTrafficId(usrTrafficId); eldb.setCampaignWasViewed(true); CampaignEventUtilities.sendCampaignLoggingEvent(eldb);
CampaignLoggingDataBean eldb = new CampaignLoggingDataBean(eMarketingSpotId, initiativeId, storeId); eldb.setCampaignWasClicked(true); CampaignEventUtilities.sendCampaignLoggingEvent(eldb);
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
CampaignLoggingDataBean()
This constructor creates an CampaignLoggingDataBean.
|
CampaignLoggingDataBean(java.lang.Integer eMarketingSpotId, java.lang.Integer initiativeId, java.lang.Integer storeId)
This constructor creates an CampaignLoggingDataBean.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String | getCampaignId()
This method gets the ID of the campaign.
|
java.lang.String | getCampaignName()
This method gets the name of the campaign.
|
boolean | getCampaignWasClicked()
This method gets the field that specifies whether or not the campaign was clicked by the customer.
|
java.lang.String | getCampaignWasClickedAsString()
This method gets the field that specifies whether or not the campaign was clicked by the customer.
|
boolean | getCampaignWasViewed()
This method gets the field that specifies whether or not the campaign was viewed by the customer.
|
java.lang.String | getCampaignWasViewedAsString()
This method gets the field that specifies whether or not the campaign was viewed by the customer.
|
java.lang.String | getEMarketingSpotId()
This method gets the ID of the e-Marketing Spot.
|
java.lang.String | getEMarketingSpotName()
This method gets the name of the e-Marketing Spot.
|
java.lang.String | getEMarketingSpotTypeId()
This method gets the ID of the e-Marketing Spot type.
|
java.lang.String | getEMarketingSpotTypeName()
This method gets the name of the e-Marketing Spot type.
|
java.lang.String | getInitiativeId()
This method gets the ID of the initiative.
|
java.lang.String | getInitiativeName()
This method gets the name of the initiative.
|
java.lang.String | getResults()
This method gets the campaign result that is shown to the customer.
|
java.lang.String | getShopSegments()
This method gets the customer segment identifiers.
|
java.lang.String | getStoreId()
This method gets the ID of the store.
|
java.lang.String | getUsrTrafficId()
This method gets the ID of the user traffic.
|
void | setCampaignId(java.lang.Integer campaignId)
This method sets the ID of the campaign.
|
void | setCampaignName(java.lang.String campaignName)
This method sets the name of the campaign.
|
void | setCampaignWasClicked(boolean wasCampaignClicked)
This method sets the field that specifies whether or not the campaign was clicked by the customer.
|
void | setCampaignWasClicked(java.lang.String wasCampaignClicked)
This method sets the field that specifies whether or not the campaign was clicked by the customer.
|
void | setCampaignWasViewed(boolean wasCampaignViewed)
This method sets the field that specifies whether or not the campaign was viewed by the customer.
|
void | setCampaignWasViewed(java.lang.String wasCampaignViewed)
This method sets the field that specifies whether or not the campaign was viewed by the customer.
|
void | setEMarketingSpotId(java.lang.Integer eMarketingSpotId)
This method sets the ID of the e-Marketing Spot.
|
void | setEMarketingSpotName(java.lang.String eMarketingSpotName)
This method sets the name of the e-Marketing Spot.
|
void | setEMarketingSpotTypeId(java.lang.Integer eMarketingSpotTypeId)
This method sets the ID of the e-Marketing Spot type.
|
void | setEMarketingSpotTypeName(java.lang.String eMarketingSpotTypeName)
This method sets the name of the e-Marketing Spot type.
|
void | setInitiativeId(java.lang.Integer initiativeId)
This method sets the ID of the initiative.
|
void | setInitiativeName(java.lang.String initiativeName)
This method sets the name of the initiative.
|
void | setResults(java.lang.String results)
This method sets the campaign result that is shown to the customer.
|
void | setShopSegments(java.lang.String shopSegments)
This method sets the customer segment identifiers.
|
void | setStoreId(java.lang.Integer storeId)
This method sets the ID of the store.
|
void | setUsrTrafficId(java.lang.Long usrTrafficId)
This method sets the ID of the user traffic.
|
java.lang.String | toString()
This method gets the string respresentation of this data bean.
|
public static final java.lang.String COPYRIGHT
public CampaignLoggingDataBean()
public CampaignLoggingDataBean(java.lang.Integer eMarketingSpotId, java.lang.Integer initiativeId, java.lang.Integer storeId)
public java.lang.String getCampaignId()
public java.lang.String getCampaignName()
public boolean getCampaignWasClicked()
public java.lang.String getCampaignWasClickedAsString()
public boolean getCampaignWasViewed()
public java.lang.String getCampaignWasViewedAsString()
public java.lang.String getEMarketingSpotId()
public java.lang.String getEMarketingSpotName()
public java.lang.String getEMarketingSpotTypeId()
public java.lang.String getEMarketingSpotTypeName()
public java.lang.String getInitiativeId()
public java.lang.String getInitiativeName()
public java.lang.String getResults()
public java.lang.String getShopSegments()
public java.lang.String getStoreId()
public java.lang.String getUsrTrafficId()
public void setCampaignId(java.lang.Integer campaignId)
public void setCampaignName(java.lang.String campaignName)
public void setCampaignWasClicked(boolean wasCampaignClicked)
public void setCampaignWasClicked(java.lang.String wasCampaignClicked)
public void setCampaignWasViewed(boolean wasCampaignViewed)
public void setCampaignWasViewed(java.lang.String wasCampaignViewed)
public void setEMarketingSpotId(java.lang.Integer eMarketingSpotId)
public void setEMarketingSpotName(java.lang.String eMarketingSpotName)
public void setEMarketingSpotTypeId(java.lang.Integer eMarketingSpotTypeId)
public void setEMarketingSpotTypeName(java.lang.String eMarketingSpotTypeName)
public void setInitiativeId(java.lang.Integer initiativeId)
public void setInitiativeName(java.lang.String initiativeName)
public void setResults(java.lang.String results)
public void setShopSegments(java.lang.String shopSegments)
public void setStoreId(java.lang.Integer storeId)
public void setUsrTrafficId(java.lang.Long usrTrafficId)
public java.lang.String toString()