public class EMarketingSpotDataBean
extends java.lang.Object
implements java.io.Serializable, com.ibm.websphere.cache.Sizeable
Modifier and Type | Field and Description |
---|---|
static java.lang.String | CLASSNAME
The name of this class.
|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
static java.lang.String | DISPLAY_RETURN_CATALOG_ENTRY_ID
A constant representing that only the IDs of the Catalog Entry objects to display should be returned to the e-Marketing Spot.
|
static java.lang.String | DISPLAY_RETURN_CATEGORY_ID
A constant representing that only the IDs of the Category objects to display should be returned to the e-Marketing Spot.
|
static java.lang.String | DISPLAY_RETURN_MARKETING_CONTENT_ID
A constant representing that only the IDs of the Marketing Content objects to display should be returned to the e-Marketing Spot.
|
static java.lang.String | DISPLAY_TYPE_CATALOG_ENTRY
A constant representing a product to be displayed in an e-Marketing Spot.
|
static java.lang.String | DISPLAY_TYPE_CATALOG_ENTRY_ID
A constant representing the ID of a product to be displayed in an e-Marketing Spot.
|
static java.lang.String | DISPLAY_TYPE_CATEGORY
A constant representing a category to be displayed in an e-Marketing Spot.
|
static java.lang.String | DISPLAY_TYPE_CATEGORY_ID
A constant representing the ID of a category to be displayed in an e-Marketing Spot.
|
static java.lang.String | DISPLAY_TYPE_MARKETING_CONTENT
A constant representing Marketing Content to be displayed in an e-Marketing Spot.
|
static java.lang.String | DISPLAY_TYPE_MARKETING_CONTENT_ID
A constant representing the ID of Marketing Content to be displayed in an e-Marketing Spot.
|
static java.lang.String | NVP_ACTION
Constant representing the action name value pair for the EMarketingSpotDataBean.
|
static java.lang.String | NVP_PROMOTION_DISPLAY
Constant representing the display action value for the EMarketingSpotDataBean.
|
static java.lang.String | NVP_PROMOTION_ID
Constant representing the promotion name value pair for the EMarketingSpotDataBean.
|
static java.lang.String | TRUE
A constant representing the value true.
|
Constructor and Description |
---|
EMarketingSpotDataBean()
This method is the default constructor.
|
EMarketingSpotDataBean(java.lang.String newType, java.lang.String newData, Activity activity, java.lang.Integer newElementId)
Deprecated.
Use the constructor EMarketingSpotDataBean(String, String, Activity, Integer, List)
|
EMarketingSpotDataBean(java.lang.String newType, java.lang.String newData, Activity activity, java.lang.Integer newElementId, java.util.List newExperimentTestElements)
This method initializes the bean with all the information about what to display in an e-Marketing Spot.
|
EMarketingSpotDataBean(java.lang.String newType, java.lang.String newData, java.lang.Integer newActivityId, java.lang.Integer newElementId)
This method initializes the bean with all the information about what to display in an e-Marketing Spot.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Integer | getActivityId()
This method gets the ID of the activity which made the recommendation.
|
java.lang.String | getData()
This method gets the information (usually the unique identifier) of what to display.
|
java.util.List | getExperimentTestElements()
This method gets the the set of experiments and test elements that have been passed along the activity flow.
|
java.lang.String | getNVP(java.lang.String name)
This method gets a value from the name-value pair.
|
java.util.Map | getNVPs()
This method gets the name-value pairs associated with the data to display in the e-Marketing Spot.
|
long | getObjectSize()
Returns the estimated footprint size in bytes of this object and the objects it contains.
|
java.math.BigInteger | getPriority()
This method gets the priority of the campaign element which made the recommendation.
|
java.lang.String | getType()
This method gets the type of what is to be displayed in the e-Marketing Spot.
|
void | setActivityId(java.lang.Integer newActivityId)
This method the ID of the activity which made the recommendation.
|
void | setData(java.lang.String newData)
This method the information (usually the unique identifier) of what to display.
|
void | setExperimentTestElements(java.util.List newExperimentTestElements)
This method sets the set of experiments and test elements that have been passed along the activity flow.
|
void | setNVP(java.lang.String name, java.lang.String value)
This method sets a name-value pair.
|
void | setNVPs(java.util.Map newNVP)
This method sets the name-value pairs associated with the data to display in the e-Marketing Spot.
|
void | setPriority(java.math.BigInteger newPriority)
This method the priority of the campaign element which made the recommendation.
|
void | setType(java.lang.String newType)
This method sets the type of what is to be displayed in the e-Marketing Spot.
|
java.lang.String | toString()
This method returns a string with the content of the e-Marketing Spot data.
|
public static final java.lang.String CLASSNAME
public static final java.lang.String COPYRIGHT
public static final java.lang.String DISPLAY_TYPE_MARKETING_CONTENT
public static final java.lang.String DISPLAY_TYPE_CATEGORY
public static final java.lang.String DISPLAY_TYPE_CATALOG_ENTRY
public static final java.lang.String DISPLAY_TYPE_MARKETING_CONTENT_ID
public static final java.lang.String DISPLAY_TYPE_CATEGORY_ID
public static final java.lang.String DISPLAY_TYPE_CATALOG_ENTRY_ID
public static final java.lang.String DISPLAY_RETURN_MARKETING_CONTENT_ID
public static final java.lang.String DISPLAY_RETURN_CATEGORY_ID
public static final java.lang.String DISPLAY_RETURN_CATALOG_ENTRY_ID
public static final java.lang.String TRUE
public static final java.lang.String NVP_PROMOTION_ID
public static final java.lang.String NVP_ACTION
public static final java.lang.String NVP_PROMOTION_DISPLAY
public EMarketingSpotDataBean()
public EMarketingSpotDataBean(java.lang.String newType, java.lang.String newData, Activity activity, java.lang.Integer newElementId, java.util.List newExperimentTestElements)
public EMarketingSpotDataBean(java.lang.String newType, java.lang.String newData, Activity activity, java.lang.Integer newElementId)
public EMarketingSpotDataBean(java.lang.String newType, java.lang.String newData, java.lang.Integer newActivityId, java.lang.Integer newElementId)
public long getObjectSize()
public java.lang.String getType()
public java.lang.String getData()
public java.lang.Integer getActivityId()
public java.math.BigInteger getPriority()
public java.util.List getExperimentTestElements()
public void setExperimentTestElements(java.util.List newExperimentTestElements)
public void setType(java.lang.String newType)
public void setData(java.lang.String newData)
public void setActivityId(java.lang.Integer newActivityId)
public void setPriority(java.math.BigInteger newPriority)
public void setNVP(java.lang.String name, java.lang.String value)
public java.lang.String getNVP(java.lang.String name)
public java.util.Map getNVPs()
public void setNVPs(java.util.Map newNVP)
public java.lang.String toString()