com.ibm.commerce.marketingcenter.events.databeans

Class CampaignStatisticsListDataBean

  • java.lang.Object
    • com.ibm.commerce.marketingcenter.events.databeans.CampaignStatisticsListDataBean
  • All Implemented Interfaces:
    com.ibm.commerce.beans.DataBean, com.ibm.commerce.beans.InputDataBean, com.ibm.commerce.beans.SmartDataBean, java.io.Serializable


    public class CampaignStatisticsListDataBean
    extends java.lang.Object
    implements com.ibm.commerce.beans.SmartDataBean
    This class accesses all the entries of the campaign statistics in the database, where each row is represented by a CampaignStatisticsBean.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM copyright notice field.
      static java.lang.String ORDERBY_CLICKS
      Name for database column CLICKS used in the EJB finder to perform sorting on the list.
      static java.lang.String ORDERBY_MPENAME
      Name for database column MPENAME used in the EJB finder to perform sorting on the list.
      static java.lang.String ORDERBY_VIEWS
      Name for database column VIEWS used in the EJB finder to perform sorting on the list.
      • Fields inherited from interface com.ibm.commerce.beans.DataBean

        emptyString
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      com.ibm.commerce.command.CommandContext getCommandContext()
      Gets the current command context that is used to retrieve the runtime attribute like the store ID and the member ID.
      java.lang.Integer getIntv_id()
      Gets the initiative ID associated with all the statistics in this bean.
      java.lang.Integer getMpe_id()
      Gets the marketing page element ID associated with all the statistics in this bean.
      java.lang.String getOrderby()
      Gets the order by value to be used as the order by parameter in the EJB finder.
      com.ibm.commerce.datatype.TypedProperty getRequestProperties()
      Gets the requestProperties associated with the data bean.
      com.ibm.commerce.marketingcenter.events.objects.CampaignStatisticsAccessBean[] getStatsAccessBeanList()
      Gets the array of CampaignStatisticsAccessBean objects that represents all the statistics in the list.
      CampaignStatisticsBean[] getStatsDataBeanList()
      Gets the array of CampaignStatisticsBean objects that represents all the statistics in the list.
      CampaignStatisticsBean getStatsDataBeanList(int i)
      Gets an entry in the array of CampaignStatisticsBean objects that represents a row in the list, specified by the given index.
      void populate()
      Populate the databean that includes all the statistics found.
      void setCommandContext(com.ibm.commerce.command.CommandContext cmdContext)
      Sets the current command context that is used to retrieve the runtime attribute like the store ID and the member ID.
      void setIntv_id(java.lang.Integer newIntv_id)
      Sets the initiative ID associated with all the statistics in this bean, in EJB attribute type.
      void setIntv_id(java.lang.String newIntv_id)
      Sets the initiative ID associated with all the statistics in this bean.
      void setMpe_id(java.lang.Integer newMpe_id)
      Sets the marketing page element ID associated with all the statistics in this bean, in EJB attribute type.
      void setMpe_id(java.lang.String newMpe_id)
      Sets the marketing page element ID associated with all the statistics in this bean.
      void setOrderby(java.lang.String newOrderby)
      Sets the order by value to be used as the order by parameter in the EJB finder.
      void setRequestProperties(com.ibm.commerce.datatype.TypedProperty param)
      Sets the requestProperties associated with the data bean.
      void setStatsAccessBeanList(com.ibm.commerce.marketingcenter.events.objects.CampaignStatisticsAccessBean[] newStatsAccessBeanList)
      Sets the array of CampaignStatisticsAccessBean objects that represents all the statistics in the list.
      void setStatsDataBeanList(CampaignStatisticsBean[] newStatsDataBeanList)
      Sets the array of CampaignStatisticsBean objects that represents all the statistics in the list.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • COPYRIGHT

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

        public static final java.lang.String ORDERBY_CLICKS
        Name for database column CLICKS used in the EJB finder to perform sorting on the list.
        See Also:
        Constant Field Values
      • ORDERBY_MPENAME

        public static final java.lang.String ORDERBY_MPENAME
        Name for database column MPENAME used in the EJB finder to perform sorting on the list.
        See Also:
        Constant Field Values
      • ORDERBY_VIEWS

        public static final java.lang.String ORDERBY_VIEWS
        Name for database column VIEWS used in the EJB finder to perform sorting on the list.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CampaignStatisticsListDataBean

        public CampaignStatisticsListDataBean()
        Constructor for CampaignStatisticsListDataBean.
    • Method Detail

      • getCommandContext

        public com.ibm.commerce.command.CommandContext getCommandContext()
        Gets the current command context that is used to retrieve the runtime attribute like the store ID and the member ID.
        Specified by:
        getCommandContext in interface com.ibm.commerce.beans.SmartDataBean
        Returns:
        the current command context
      • getIntv_id

        public java.lang.Integer getIntv_id()
        Gets the initiative ID associated with all the statistics in this bean.
        Returns:
        initiative ID
      • getMpe_id

        public java.lang.Integer getMpe_id()
        Gets the marketing page element ID associated with all the statistics in this bean.
        Returns:
        marketing page element ID
      • getOrderby

        public java.lang.String getOrderby()
        Gets the order by value to be used as the order by parameter in the EJB finder.
        Returns:
        order by value
      • getRequestProperties

        public com.ibm.commerce.datatype.TypedProperty getRequestProperties()
        Gets the requestProperties associated with the data bean.
        Specified by:
        getRequestProperties in interface com.ibm.commerce.beans.InputDataBean
        Returns:
        The set of properties passed to the JSP page that invokes this data bean.
      • getStatsAccessBeanList

        public com.ibm.commerce.marketingcenter.events.objects.CampaignStatisticsAccessBean[] getStatsAccessBeanList()
        Gets the array of CampaignStatisticsAccessBean objects that represents all the statistics in the list.
        Returns:
        an array of CampaignStatisticsAccessBean objects
      • getStatsDataBeanList

        public CampaignStatisticsBean[] getStatsDataBeanList()
        Gets the array of CampaignStatisticsBean objects that represents all the statistics in the list.
        Returns:
        an array of CampaignStatisticsBean objects
      • getStatsDataBeanList

        public CampaignStatisticsBean getStatsDataBeanList(int i)
        Gets an entry in the array of CampaignStatisticsBean objects that represents a row in the list, specified by the given index.
        Parameters:
        i - index of the array
        Returns:
        a CampaignStatisticsBean object
      • populate

        public void populate()
                      throws java.lang.Exception
        Populate the databean that includes all the statistics found.
        Specified by:
        populate in interface com.ibm.commerce.beans.SmartDataBean
        Throws:
        java.lang.Exception - Thrown whenever an exception is encountered.
      • setCommandContext

        public void setCommandContext(com.ibm.commerce.command.CommandContext cmdContext)
        Sets the current command context that is used to retrieve the runtime attribute like the store ID and the member ID.
        Specified by:
        setCommandContext in interface com.ibm.commerce.beans.SmartDataBean
        Parameters:
        cmdContext - the current command context
      • setIntv_id

        public void setIntv_id(java.lang.Integer newIntv_id)
        Sets the initiative ID associated with all the statistics in this bean, in EJB attribute type.
        Parameters:
        newIntv_id - initiative ID
      • setIntv_id

        public void setIntv_id(java.lang.String newIntv_id)
        Sets the initiative ID associated with all the statistics in this bean.
        Parameters:
        newIntv_id - initiative ID
      • setMpe_id

        public void setMpe_id(java.lang.Integer newMpe_id)
        Sets the marketing page element ID associated with all the statistics in this bean, in EJB attribute type.
        Parameters:
        newMpe_id - marketing page element ID
      • setMpe_id

        public void setMpe_id(java.lang.String newMpe_id)
        Sets the marketing page element ID associated with all the statistics in this bean.
        Parameters:
        newMpe_id - marketing page element ID
      • setOrderby

        public void setOrderby(java.lang.String newOrderby)
        Sets the order by value to be used as the order by parameter in the EJB finder.
        Parameters:
        newOrderBy - order by value
      • setRequestProperties

        public void setRequestProperties(com.ibm.commerce.datatype.TypedProperty param)
        Sets the requestProperties associated with the data bean.
        Specified by:
        setRequestProperties in interface com.ibm.commerce.beans.InputDataBean
        Parameters:
        param - The set of properties passed to the JSP page that invokes this data bean.
      • setStatsAccessBeanList

        public void setStatsAccessBeanList(com.ibm.commerce.marketingcenter.events.objects.CampaignStatisticsAccessBean[] newStatsAccessBeanList)
        Sets the array of CampaignStatisticsAccessBean objects that represents all the statistics in the list.
        Parameters:
        newStatsAccessBeanList - an array of CampaignStatisticsAccessBean objects
      • setStatsDataBeanList

        public void setStatsDataBeanList(CampaignStatisticsBean[] newStatsDataBeanList)
        Sets the array of CampaignStatisticsBean objects that represents all the statistics in the list.
        Parameters:
        newStatsDataBeanList - an array of CampaignStatisticsBean objects