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

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

public class ProductAdvisorStatisticsListDataBean
extends java.lang.Object
implements 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
protected java.lang.Long catGroupId
protected CommandContext commandContext
static java.lang.String COPYRIGHT
IBM copyright notice field.
protected java.lang.Integer metaphorTypeId
protected TypedProperty requestProperties
protected ProductAdvisorStatisticsAccessBean[] statsAccessBeanList
protected ProductAdvisorStatisticsBean[] statsDataBeanList
Fields inherited from interface com.ibm.commerce.beans.DataBean
emptyString
Constructor Summary
ProductAdvisorStatisticsListDataBean()
Constructor for ProductAdvisorStatisticsListDataBean.
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 getMetaphorTypeId()
Gets the metaphor type ID associated with all the statistics in this bean, in EJB attribute type.
TypedProperty getRequestProperties()
Gets the requestProperties associated with the data bean.
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(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(TypedProperty newRequestProperties)
Sets the requestProperties associated with the data bean.
void setStatsAccessBeanList(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
clone, equals, finalize, 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

catGroupId

protected java.lang.Long catGroupId

metaphorTypeId

protected java.lang.Integer metaphorTypeId

requestProperties

protected TypedProperty requestProperties

commandContext

protected CommandContext commandContext

statsDataBeanList

protected ProductAdvisorStatisticsBean[] statsDataBeanList

statsAccessBeanList

protected ProductAdvisorStatisticsAccessBean[] statsAccessBeanList
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 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

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 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 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 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

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(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(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

Feedback