com.ibm.commerce.marketingcenter.events.databeans
Class ProductExplorerStatisticsListDataBean

java.lang.Object
  |
  +--com.ibm.commerce.marketingcenter.events.databeans.ProductExplorerStatisticsListDataBean
All Implemented Interfaces:
DataBean, InputDataBean, java.io.Serializable, SmartDataBean

public class ProductExplorerStatisticsListDataBean
extends java.lang.Object
implements SmartDataBean

This class accesses all the entries of the product explorer statistics in the database, where each row is represented by a ProductExplorerStatisticsBean.

See Also:
Serialized Form

Field Summary
protected  java.lang.Long catGroupId
           
protected  CommandContext commandContext
           
static java.lang.String COPYRIGHT
          IBM copyright notice field.
protected  java.lang.Integer featureId
           
protected  TypedProperty requestProperties
           
protected   ProductExplorerStatisticsAccessBean[] statsAccessBeanList
           
protected   ProductExplorerStatisticsBean[] statsDataBeanList
           
 
Fields inherited from interface com.ibm.commerce.beans. DataBean
emptyString
 
Constructor Summary
ProductExplorerStatisticsListDataBean()
          Constructor for ProductExplorerStatisticsListDataBean.
 
Method Summary
 java.lang.Long getCatGroupId()
          Gets the category ID associated with all the statistics in this bean, in EJB attribute type.
  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 getFeatureId()
          Gets the feature ID associated with all the statistics in this bean, in EJB attribute type.
  TypedProperty getRequestProperties()
          Gets the requestProperties associated with the data bean.
  ProductExplorerStatisticsAccessBean[] getStatsAccessBeanList()
          Gets the array of ProductExplorerStatisticsAccessBean objects that represents all the statistics in the list.
  ProductExplorerStatisticsBean[] getStatsDataBeanList()
          Gets the array of ProductExplorerStatisticsBean 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( CommandContext newCommandContext)
          Sets the current command context that is used to retrieve the runtime attribute like the store ID and the member ID.
 void setFeatureId(java.lang.Integer newFeatureId)
          Sets the feature ID associated with all the statistics in this bean, in EJB attribute type.
 void setRequestProperties( TypedProperty newRequestProperties)
          Sets the requestProperties associated with the data bean.
 void setStatsAccessBeanList( ProductExplorerStatisticsAccessBean[] newStatsAccessBeanList)
          Sets the array of ProductExplorerStatisticsAccessBean objects that represents all the statistics in the list.
 void setStatsDataBeanList( ProductExplorerStatisticsBean[] newStatsDataBeanList)
          Sets the array of ProductExplorerStatisticsBean objects that represents all the statistics in the list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

catGroupId

protected java.lang.Long catGroupId

featureId

protected java.lang.Integer featureId

requestProperties

protected TypedProperty requestProperties

commandContext

protected CommandContext commandContext

statsDataBeanList

protected ProductExplorerStatisticsBean[] statsDataBeanList

statsAccessBeanList

protected ProductExplorerStatisticsAccessBean[] statsAccessBeanList
Constructor Detail

ProductExplorerStatisticsListDataBean

public ProductExplorerStatisticsListDataBean()
Constructor for ProductExplorerStatisticsListDataBean.
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 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 SmartDataBean
Returns:
the current command context

getFeatureId

public java.lang.Integer getFeatureId()
Gets the feature ID associated with all the statistics in this bean, in EJB attribute type.
Returns:
feature ID

getRequestProperties

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

getStatsAccessBeanList

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

getStatsDataBeanList

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

populate

public void populate()
              throws java.lang.Exception
Populate the databean that includes all the statistics found.
Specified by:
populate in interface 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(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 SmartDataBean
Parameters:
newCommandContext - the current command context

setFeatureId

public void setFeatureId(java.lang.Integer newFeatureId)
Sets the feature ID associated with all the statistics in this bean, in EJB attribute type.
Parameters:
newFeatureId - feature ID

setRequestProperties

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

setStatsAccessBeanList

public void setStatsAccessBeanList(ProductExplorerStatisticsAccessBean[] newStatsAccessBeanList)
Sets the array of ProductExplorerStatisticsAccessBean objects that represents all the statistics in the list.
Parameters:
newStatsAccessBeanList - an array of ProductExplorerStatisticsAccessBean objects

setStatsDataBeanList

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