com.ibm.commerce.marketingcenter.events.databeans

Class ProductAdvisorStatisticsListDataBean

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


    public class ProductAdvisorStatisticsListDataBean
    extends java.lang.Object
    implements com.ibm.commerce.beans.SmartDataBean
    This class accesses all the entries of the product advisor statistics in the database, where each row is represented by a ProductAdvisorStatisticsBean.
    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.
      java.lang.Integer getMetaphorTypeId()
      Gets the metaphor type ID associated with all the statistics in this bean, in EJB attribute type.
      com.ibm.commerce.datatype.TypedProperty getRequestProperties()
      Gets the requestProperties associated with the data bean.
      com.ibm.commerce.marketingcenter.events.objects.ProductAdvisorStatisticsAccessBean[] getStatsAccessBeanList()
      Gets the array of ProductAdvisorStatisticsAccessBean objects that represents all the statistics in the list.
      ProductAdvisorStatisticsBean[] getStatsDataBeanList()
      Gets the array of ProductAdvisorStatisticsBean 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 setMetaphorTypeId(java.lang.Integer newMetaphorTypeId)
      Sets the metaphor type ID associated with all the statistics in this bean, in EJB attribute type.
      void setRequestProperties(com.ibm.commerce.datatype.TypedProperty newRequestProperties)
      Sets the requestProperties associated with the data bean.
      void setStatsAccessBeanList(com.ibm.commerce.marketingcenter.events.objects.ProductAdvisorStatisticsAccessBean[] newStatsAccessBeanList)
      Sets the array of ProductAdvisorStatisticsAccessBean objects that represents all the statistics in the list.
      void setStatsDataBeanList(ProductAdvisorStatisticsBean[] newStatsDataBeanList)
      Sets the array of ProductAdvisorStatisticsBean 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

      • ProductAdvisorStatisticsListDataBean

        public ProductAdvisorStatisticsListDataBean()
        Constructor for ProductAdvisorStatisticsListDataBean.
    • 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
      • getMetaphorTypeId

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

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

        public void setMetaphorTypeId(java.lang.Integer newMetaphorTypeId)
        Sets the metaphor type ID associated with all the statistics in this bean, in EJB attribute type.
        Parameters:
        newMetaphorTypeId - metaphor type ID
      • 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.ProductAdvisorStatisticsAccessBean[] newStatsAccessBeanList)
        Sets the array of ProductAdvisorStatisticsAccessBean objects that represents all the statistics in the list.
        Parameters:
        newStatsAccessBeanList - an array of ProductAdvisorStatisticsAccessBean objects
      • setStatsDataBeanList

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