public class ExperimentDataBean
extends com.ibm.commerce.tools.experimentation.beansrc.ExperimentDataBeanBase
implements com.ibm.commerce.tools.experimentation.ExperimentConstants
com.ibm.commerce.beans.SmartDataBeanImpl
which
provides access to common methods that are used to activate this bean, and access
command context and request properties.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
ELEMENT_EXPERIMENT, EXPERIMENT_ID_DELIMITER, EXPERIMENT_RESOURCES, EXPERIMENT_RESULT_SCOPE_LIFETIME, EXPERIMENT_RESULT_SCOPE_REQUEST, EXPERIMENT_RESULT_SCOPE_SESSION, EXPERIMENT_STATUS_ACTIVE, EXPERIMENT_STATUS_COMPLETED, EXPERIMENT_STATUS_DELETED, EXPERIMENT_STATUS_EXPIRED, EXPERIMENT_STATUS_INACTIVE, FRIDAY, MONDAY, MSG_BUTTON_ACTIVATE, MSG_BUTTON_ADD, MSG_BUTTON_ADD_NO_ELLIPSIS, MSG_BUTTON_BACK, MSG_BUTTON_CAMPAIGNS, MSG_BUTTON_CANCEL, MSG_BUTTON_CHANGE, MSG_BUTTON_CHANGE_INITIATIVE, MSG_BUTTON_CHANGE_INITIATIVE_ELLIPSIS, MSG_BUTTON_CHOOSE_COUPON, MSG_BUTTON_CHOOSE_DISCOUNT, MSG_BUTTON_CLEAR, MSG_BUTTON_CLOSE, MSG_BUTTON_CONFIRM, MSG_BUTTON_COPY, MSG_BUTTON_DEACTIVATE, MSG_BUTTON_DELETE, MSG_BUTTON_FIND, MSG_BUTTON_FIND_ELLIPSIS, MSG_BUTTON_HELP, MSG_BUTTON_LIST, MSG_BUTTON_LIST_ELLIPSIS, MSG_BUTTON_NEW, MSG_BUTTON_OK, MSG_BUTTON_PREVIEW, MSG_BUTTON_PRINT, MSG_BUTTON_PRIORITIZE, MSG_BUTTON_PROPERTIES, MSG_BUTTON_REMOVE, MSG_BUTTON_REPORTS, MSG_BUTTON_RESUME, MSG_BUTTON_SCHEDULE, MSG_BUTTON_STATISTICS, MSG_BUTTON_SUMMARY, MSG_BUTTON_SUSPEND, MSG_DAY_PROMPT, MSG_EXPERIMENT_EVALUATION_FAILED, MSG_EXPERIMENT_EXISTS, MSG_EXPERIMENT_NOT_SAVED, MSG_EXPERIMENT_SAVED, MSG_MONTH_PROMPT, MSG_NEVER, MSG_TIME_PROMPT, MSG_YEAR_PROMPT, ORDER_BY_CODE, ORDER_BY_DESCRIPTION, ORDER_BY_DISPLAYS, ORDER_BY_END_DATE, ORDER_BY_LAST_UPDATE, ORDER_BY_LAST_UPDATED_BY, ORDER_BY_NAME, ORDER_BY_PRIORITY, ORDER_BY_START_DATE, ORDER_BY_STATUS, ORDER_BY_TYPE, ORDER_BY_VIEWS, PARAMETER_CURRENT_TIME, PARAMETER_EXPERIMENT_COMPLETE_STATUS, PARAMETER_EXPERIMENT_DELETED, PARAMETER_EXPERIMENT_ID, PARAMETER_EXPERIMENT_ID_INVALID, PARAMETER_EXPERIMENT_IDS, PARAMETER_EXPERIMENT_NOT_DELETED, PARAMETER_EXPERIMENT_STATUS, PARAMETER_EXPERIMENT_STATUS_NOT_UPDATED, PARAMETER_EXPERIMENT_STATUS_UPDATED, PARAMETER_ORDER_BY, PARAMETER_PREFERRED_ELEMENT_ID, PARAMETER_STORE_ELEMENT_ID, PARAMETER_STORE_ELEMENT_TYPE_ID, PARAMETER_STORE_ID, SATURDAY, SEARCH_TYPE_EXACT_MATCH, SEARCH_TYPE_LIKE_CASE_SENSITIVE, SEARCH_TYPE_LIKE_IGNORE_CASE, SEARCH_TYPE_MATCH_CASE_SENSITIVE, SEARCH_TYPE_MATCH_IGNORE_CASE, SUNDAY, THURSDAY, TIMESTAMP_END_OF_TIME, TUESDAY, URL_EXPERIMENT_COMPLETE_REDIRECT_VIEW, URL_EXPERIMENT_DELETE_REDIRECT_VIEW, URL_EXPERIMENT_STATUS_UPDATE_REDIRECT_VIEW, WEDNESDAY
emptyString
Constructor and Description |
---|
ExperimentDataBean() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
This method returns the description of the experiment.
|
java.sql.Timestamp |
getEndDate()
This method returns the end date of the experiment.
|
java.lang.String |
getEndDay()
This method returns the day value of the end date of the experiment.
|
java.lang.String |
getEndMonth()
This method returns the month value of the end date of the experiment.
|
java.lang.String |
getEndTime()
This method returns the time value of the end date of the experiment.
|
java.lang.String |
getEndYear()
This method returns the year value of the end date of the experiment.
|
java.lang.String |
getExperimentName()
This method returns the name of the experiment.
|
java.lang.Integer |
getExpireCount()
This method returns the expire count of the experiment, which is used to determine
the number of customers to display the experiment to before the experiment expires.
|
java.lang.Integer |
getId()
This method returns the ID of the experiment.
|
java.sql.Timestamp |
getLastUpdateDate()
This method returns the date on which the experiment was last updated.
|
java.lang.String |
getLastUpdatedBy()
This method returns the logon ID of the user who last updated the experiment.
|
java.lang.Short |
getPreferredElement()
This method returns the preferred element of the experiment.
|
java.lang.Short |
getPriority()
This method returns the priority of the experiment.
|
java.lang.String |
getResultScope()
This method returns the result scope of the experiment.
|
ExperimentRuleDefinition |
getRuleDefinition()
This method returns the rule of the experiment represented by
com.ibm.commerce.tools.experimentation.ExperimentRuleDefinition class. |
java.lang.String |
getRuleXml()
This method returns the XML which describes the rule of the experiment.
|
java.sql.Timestamp |
getStartDate()
This method returns the start date of the experiment.
|
java.lang.String |
getStartDay()
This method returns the day value of the start date of the experiment.
|
java.lang.String |
getStartMonth()
This method returns the month value of the start date of the experiment.
|
java.lang.String |
getStartTime()
This method returns the time value of the start date of the experiment.
|
java.lang.String |
getStartYear()
This method returns the year value of the start date of the experiment.
|
java.lang.String |
getStatus()
This method returns the status of the experiment.
|
java.lang.Integer |
getStoreElementTypeId()
This method returns the ID of the type to which the store element selected in the
experiment is assigned.
|
java.lang.String |
getStoreElementTypeName()
This method returns the name of the type to which the store element selected in the
experiment is assigned.
|
java.lang.Integer |
getStoreId()
This method returns the ID of the store to which this experiment belongs.
|
void |
populate()
Populates the data bean that includes all of the data related to this experiment.
|
void |
setId(java.lang.Integer id)
This method sets the ID of this experiment.
|
void |
setXML(java.util.Hashtable xml)
This method sets the XML document which describes this experiment.
|
getDelegate, getOwner
fulfills, getCommandContext, getHttpRequest, getHttpResponse, getResources, getViewCommandContext, setCommandContext, setHttpRequest, setHttpResponse, setViewCommandContext
getRequestProperties, setRequestProperties
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fulfills
getRequestProperties, setRequestProperties
public static final java.lang.String COPYRIGHT
public java.lang.String getDescription()
public java.sql.Timestamp getEndDate()
public java.lang.String getEndDay()
public java.lang.String getEndMonth()
public java.lang.String getEndTime()
public java.lang.String getEndYear()
public java.lang.Integer getExpireCount()
public java.lang.Integer getId()
public java.sql.Timestamp getLastUpdateDate()
public java.lang.String getLastUpdatedBy()
public java.lang.String getExperimentName()
public java.lang.Short getPreferredElement()
public java.lang.Short getPriority()
public java.lang.String getResultScope()
public ExperimentRuleDefinition getRuleDefinition()
com.ibm.commerce.tools.experimentation.ExperimentRuleDefinition
class.com.ibm.commerce.tools.experimentation.ExperimentRuleDefinition
class.public java.lang.String getRuleXml()
public java.sql.Timestamp getStartDate()
public java.lang.String getStartDay()
public java.lang.String getStartMonth()
public java.lang.String getStartTime()
public java.lang.String getStartYear()
public java.lang.String getStatus()
public java.lang.Integer getStoreElementTypeId()
public java.lang.String getStoreElementTypeName()
public java.lang.Integer getStoreId()
public void populate() throws java.lang.Exception
populate
in interface SmartDataBean
populate
in class SmartDataBeanImpl
java.lang.Exception
- Thrown whenever an exception is encountered.public void setId(java.lang.Integer id)
id
- The ID of experiment.public void setXML(java.util.Hashtable xml)
xml
- The XML document which describes this experiment.