com.ibm.commerce.marketingcenter.events.databeans

Class ProductComparisonStatisticsListDataBean

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


    public class ProductComparisonStatisticsListDataBean
    extends java.lang.Object
    implements com.ibm.commerce.beans.SmartDataBean
    This class accesses all the entries of the product comparison statistics in the database, where each row is represented by a ProductComparisonStatisticsBean.
    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.beans.DataBean

        emptyString
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.Long getCatGroupId()
      Gets the category ID associated with all the statistics in this bean, in EJB attribute type.
      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.
      com.ibm.commerce.datatype.TypedProperty getRequestProperties()
      Gets the requestProperties associated with the data bean.
      com.ibm.commerce.marketingcenter.events.objects.ProductComparisonStatisticsAccessBean[] getStatsAccessBeanList()
      Gets the array of ProductComparisonStatisticsAccessBean objects that represents all the statistics in the list.
      ProductComparisonStatisticsBean[] getStatsDataBeanList()
      Gets the array of ProductComparisonStatisticsBean objects that represents all the statistics in the list.
      void populate()
      Populate the databean that includes all the statistics found.
      void setCatGroupId(java.lang.Long newCatGroupId)
      Sets the category ID associated with all the statistics in this bean, in EJB attribute type.
      void setCommandContext(com.ibm.commerce.command.CommandContext newCommandContext)
      Sets the current command context that is used to retrieve the runtime attribute like the store ID and the member ID.
      void setRequestProperties(com.ibm.commerce.datatype.TypedProperty newRequestProperties)
      Sets the requestProperties associated with the data bean.
      void setStatsAccessBeanList(com.ibm.commerce.marketingcenter.events.objects.ProductComparisonStatisticsAccessBean[] newStatsAccessBeanList)
      Sets the array of ProductComparisonStatisticsAccessBean objects that represents all the statistics in the list.
      void setStatsDataBeanList(ProductComparisonStatisticsBean[] newStatsDataBeanList)
      Sets the array of ProductComparisonStatisticsBean 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
    • Constructor Detail

      • ProductComparisonStatisticsListDataBean

        public ProductComparisonStatisticsListDataBean()
        Constructor for ProductComparisonStatisticsListDataBean.
    • Method Detail

      • getCatGroupId

        public java.lang.Long getCatGroupId()
        Gets the category ID associated with all the statistics in this bean, in EJB attribute type.
        Returns:
        category ID
      • 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
      • 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.ProductComparisonStatisticsAccessBean[] getStatsAccessBeanList()
        Gets the array of ProductComparisonStatisticsAccessBean objects that represents all the statistics in the list.
        Returns:
        an array of ProductComparisonStatisticsAccessBean objects
      • getStatsDataBeanList

        public ProductComparisonStatisticsBean[] getStatsDataBeanList()
        Gets the array of ProductComparisonStatisticsBean objects that represents all the statistics in the list.
        Returns:
        an array of ProductComparisonStatisticsBean objects
      • 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.
      • setCatGroupId

        public void setCatGroupId(java.lang.Long newCatGroupId)
        Sets the category ID associated with all the statistics in this bean, in EJB attribute type.
        Parameters:
        newCatGroupId - category ID
      • setCommandContext

        public void setCommandContext(com.ibm.commerce.command.CommandContext newCommandContext)
        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:
        newCommandContext - the current command context
      • setRequestProperties

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

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

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