com.ibm.commerce.tools.experimentation.beans

Class ExperimentListDataBean

  • All Implemented Interfaces:
    DataBean, InputDataBean, SmartDataBean, Delegator, Protectable, com.ibm.commerce.tools.experimentation.ExperimentConstants, java.io.Serializable


    public class ExperimentListDataBean
    extends com.ibm.commerce.tools.experimentation.beansrc.ExperimentListDataBeanBase
    implements com.ibm.commerce.tools.experimentation.ExperimentConstants
    This class provides access to all experiments that exist in the database. It retrieves a list of all of the experiments, and initializes and populates an experiment data bean for each experiment. A search parameter can also be set to sort the experiment list according to the parameter value.

    This bean extends 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.

    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM copyright notice field.
      • Fields inherited from interface com.ibm.commerce.tools.experimentation.ExperimentConstants

        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
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ExperimentListDataBean

        public ExperimentListDataBean()
    • Method Detail

      • getExperimentList

        public ExperimentDataBean[] getExperimentList()
        Gets an array of ExperimentDataBean objects.
        Returns:
        An array of ExperimentDataBean objects.
      • populate

        public void populate()
                      throws java.lang.Exception
        Populates the data bean that includes all of the experiments found.
        Specified by:
        populate in interface SmartDataBean
        Overrides:
        populate in class SmartDataBeanImpl
        Throws:
        java.lang.Exception - Thrown whenever an exception is encountered.