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()
CampaignLoggingDataBean
.
This constructor just calls the superclass constructor.public CampaignLoggingDataBean(java.lang.Integer eMarketingSpotId, java.lang.Integer initiativeId, java.lang.Integer storeId)
CampaignLoggingDataBean
.
This constructor calls the superclass constructor then sets values specified
by the four parameters.eMarketingSpotId
- The e-Marketing Spot ID.initiativeId
- The initiative ID.storeId
- The store ID.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)
campaignId
- The ID of the campaign.public void setCampaignName(java.lang.String campaignName)
campaignName
- The name of the campaign.public void setCampaignWasClicked(boolean wasCampaignClicked)
wasCampaignClicked
- The field that specifies whether or not the campaign was clicked by the customer.public void setCampaignWasClicked(java.lang.String wasCampaignClicked)
wasCampaignClicked
- The field that specifies whether or not the campaign was clicked by the customer.public void setCampaignWasViewed(boolean wasCampaignViewed)
wasCampaignViewed
- The field that specifies whether or not the campaign was viewed by the customer.public void setCampaignWasViewed(java.lang.String wasCampaignViewed)
wasCampaignViewed
- The field that specifies whether or not the campaign was viewed by the customer.public void setEMarketingSpotId(java.lang.Integer eMarketingSpotId)
eMarketingSpotId
- The ID of the e-Marketing Spot.public void setEMarketingSpotName(java.lang.String eMarketingSpotName)
eMarketingSpotName
- The name of the e-Marketing Spot.public void setEMarketingSpotTypeId(java.lang.Integer eMarketingSpotTypeId)
eMarketingSpotTypeId
- The ID of the e-Marketing Spot type.public void setEMarketingSpotTypeName(java.lang.String eMarketingSpotTypeName)
eMarketingSpotTypeName
- The name of the e-Marketing Spot type.public void setInitiativeId(java.lang.Integer initiativeId)
initiativeId
- The ID of the initiative.public void setInitiativeName(java.lang.String initiativeName)
initiativeName
- The name of the initiative.public void setResults(java.lang.String results)
results
- The campaign result that is shown to the customer.public void setShopSegments(java.lang.String shopSegments)
shopSegments
- The customer segment identifiers.public void setStoreId(java.lang.Integer storeId)
storeId
- The ID of the store.public void setUsrTrafficId(java.lang.Long usrTrafficId)
usrTrafficId
- The ID of the user traffic.public java.lang.String toString()
toString
in class java.lang.Object