public class CampaignInitiative extends DynamicEntity implements java.io.Serializable
com.ibm.commerce.experimentation.runtime.DynamicEntity
to provide a custom implementation of managing the required fields for a Campaign
Activity.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
CampaignInitiative()
The default constructor for this class.
|
CampaignInitiative(java.lang.Integer newObjectId,
java.lang.Integer newInitiativeId,
java.lang.String newInitiativeName,
Rule newRule,
java.lang.Integer newCampaignId,
java.lang.String newCampaignName,
java.lang.String newResultType,
java.lang.Integer newScheduleId,
java.lang.Integer newSchedulePriority,
java.lang.String newStatus,
java.lang.Integer newStoreId)
Constructor with data to construct this object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getCampaignId()
This method returns the ID of the associated campaign.
|
java.lang.String |
getCampaignName()
This method returns the name of the associated campaign.
|
java.lang.Integer |
getInitiativeId()
This method returns the campaign activity ID.
|
java.lang.String |
getInitiativeName()
This method returns the campaign activity name.
|
java.lang.Integer |
getObjectId()
This method returns the ID that uniquely identifies this object.
|
java.lang.Integer |
getPromotionId()
This method returns the ID of the promotion that is associated with this
campaign activity.
|
java.lang.String |
getPromotionName()
This method returns the name of the promotion that is associated with this
campaign activity.
|
java.lang.String |
getResultType()
This method returns the campaign activity result type.
|
Rule |
getRule()
This method returns the campaign activity rule XML represented by the
com.ibm.commerce.rule.Rule class. |
java.lang.Integer |
getScheduleId()
This method returns the campaign activity schedule ID.
|
java.lang.Integer |
getSchedulePriority()
This method returns the campaign activity schedule priority.
|
java.lang.String |
getStatus()
This method returns the campaign activity status.
|
java.lang.Integer |
getStoreId()
This method returns the ID of the store to which this campaign activity belongs.
|
void |
setCampaignId(java.lang.Integer newCampaignId)
This method sets the ID of the associated campaign.
|
void |
setCampaignName(java.lang.String newCampaignName)
This method sets the name of the associated campaign.
|
void |
setInitiativeId(java.lang.Integer newInitiativeId)
This method sets the campaign activity ID.
|
void |
setInitiativeName(java.lang.String newInitiativeName)
This method sets the campaign activity name.
|
void |
setObjectId(java.lang.Integer newObjectId)
This method sets the ID that uniquely identifies this object.
|
void |
setResultType(java.lang.String newResultType)
This method sets the campaign activity result type.
|
void |
setRule(Rule newRule)
This method sets the campaign activity rule XML represented by the
com.ibm.commerce.rule.Rule class. |
void |
setScheduleId(java.lang.Integer newScheduleId)
This method sets the campaign activity schedule ID.
|
void |
setSchedulePriority(java.lang.Integer newSchedulePriority)
This method sets the campaign activity schedule priority.
|
void |
setStatus(java.lang.String newStatus)
This method sets the campaign activity status.
|
void |
setStoreId(java.lang.Integer newStoreId)
This method sets the ID of the store to which this campaign activity belongs.
|
getControlElementViewed, getEntityExperimental, getExperimentId, getExperimentName, getStoreElementTypeId, getViewedElementId, getViewedElementName, getViewedElementRatio, setControlElementViewed, setEntityExperimental, setExperimentId, setExperimentName, setStoreElementTypeId, setViewedElementId, setViewedElementName, setViewedElementRatio
public static final java.lang.String COPYRIGHT
public CampaignInitiative()
public CampaignInitiative(java.lang.Integer newObjectId, java.lang.Integer newInitiativeId, java.lang.String newInitiativeName, Rule newRule, java.lang.Integer newCampaignId, java.lang.String newCampaignName, java.lang.String newResultType, java.lang.Integer newScheduleId, java.lang.Integer newSchedulePriority, java.lang.String newStatus, java.lang.Integer newStoreId)
newObjectId
- The ID that uniquely identifies this object.newInitiativeId
- The campaign activity ID.newInitiativeName
- The campaign activity name.newRule
- The campaign activity rule XML represented by the
com.ibm.commerce.rule.Rule
class.newCampaignId
- The ID of the associated campaign.newCampaignName
- The name of the associated campaign.newResultType
- The campaign activity result type.newScheduleId
- The campaign activity schedule ID.newSchedulePriority
- The campaign activity schedule priority.newStatus
- The campaign activity status.newStoreId
- The ID of the store to which this campaign activity belongs.public java.lang.Integer getCampaignId()
public java.lang.String getCampaignName()
public java.lang.Integer getInitiativeId()
public java.lang.String getInitiativeName()
public java.lang.Integer getObjectId()
public java.lang.Integer getPromotionId()
public java.lang.String getPromotionName()
public java.lang.String getResultType()
public Rule getRule()
com.ibm.commerce.rule.Rule
class.com.ibm.commerce.rule.Rule
class.public java.lang.Integer getScheduleId()
public java.lang.Integer getSchedulePriority()
public java.lang.String getStatus()
public java.lang.Integer getStoreId()
public void setCampaignId(java.lang.Integer newCampaignId)
newCampaignId
- The ID of the associated campaign.public void setCampaignName(java.lang.String newCampaignName)
newCampaignName
- The name of the associated campaign.public void setInitiativeId(java.lang.Integer newInitiativeId)
newInitiativeId
- The campaign activity ID.public void setInitiativeName(java.lang.String newInitiativeName)
newInitiativeName
- The campaign activity name.public void setObjectId(java.lang.Integer newObjectId)
newObjectId
- The unique ID of this object.public void setResultType(java.lang.String newResultType)
newResultType
- The campaign activity result type.public void setRule(Rule newRule)
com.ibm.commerce.rule.Rule
class.newRule
- The campaign activity rule XML represented by the
com.ibm.commerce.rule.Rule
class.public void setScheduleId(java.lang.Integer newScheduleId)
newScheduleId
- The campaign activity schedule ID.public void setSchedulePriority(java.lang.Integer newSchedulePriority)
newSchedulePriority
- The campaign activity schedule priority.public void setStatus(java.lang.String newStatus)
newStatus
- The campaign activity status.public void setStoreId(java.lang.Integer newStoreId)
newStoreId
- The ID of the store to which this campaign activity belongs.