java.lang.Object | +--com.ibm.commerce.marketingcenter.events.databeans.ProductComparisonStatisticsListDataBean
This class accesses all the entries of the product comparison statistics in
the database, where each row is represented by a
ProductComparisonStatisticsBean
.
Field Summary | |
---|---|
protected
java.lang.Long |
catGroupId |
protected
CommandContext |
commandContext |
static java.lang.String |
COPYRIGHT IBM copyright notice field. |
protected
TypedProperty |
requestProperties |
protected
ProductComparisonStatisticsAccessBean[] |
statsAccessBeanList |
protected
ProductComparisonStatisticsBean[] |
statsDataBeanList |
Fields inherited from interface com.ibm.commerce.beans. DataBean |
emptyString |
Constructor Summary | |
---|---|
ProductComparisonStatisticsListDataBean() Constructor for ProductComparisonStatisticsListDataBean. |
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. |
TypedProperty |
getRequestProperties() Gets the requestProperties associated with the data bean. |
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(
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(
TypedProperty newRequestProperties) Sets the requestProperties associated with the data bean. |
void |
setStatsAccessBeanList(
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 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
protected java.lang.Long catGroupId
protected TypedProperty requestProperties
protected CommandContext commandContext
protected ProductComparisonStatisticsBean[] statsDataBeanList
protected ProductComparisonStatisticsAccessBean[] statsAccessBeanList
Constructor Detail |
---|
public ProductComparisonStatisticsListDataBean()
Method Detail |
---|
public java.lang.Long getCatGroupId()
public CommandContext getCommandContext()
getCommandContext
in interface
SmartDataBean
public TypedProperty getRequestProperties()
getRequestProperties
in interface
InputDataBean
public ProductComparisonStatisticsAccessBean[] getStatsAccessBeanList()
ProductComparisonStatisticsAccessBean
objects that represents all the statistics in the list.
ProductComparisonStatisticsAccessBean
objectspublic ProductComparisonStatisticsBean[] getStatsDataBeanList()
ProductComparisonStatisticsBean
objects that
represents all the statistics in the list.
ProductComparisonStatisticsBean
objectspublic void populate() throws java.lang.Exception
populate
in interface
SmartDataBean
java.lang.Exception
- Thrown whenever an exception is
encountered.public void setCatGroupId(java.lang.Long newCatGroupId)
newCatGroupId
- category IDpublic void setCommandContext(CommandContext newCommandContext)
setCommandContext
in interface
SmartDataBean
newCommandContext
- the current command
contextpublic void setRequestProperties(TypedProperty newRequestProperties)
setRequestProperties
in interface
InputDataBean
newRequestProperties
- The set of properties passed to the JSP
page that invokes this data bean.public void setStatsAccessBeanList(ProductComparisonStatisticsAccessBean[] newStatsAccessBeanList)
ProductComparisonStatisticsAccessBean
objects that represents all the statistics in the list.
newStatsAccessBeanList
- an array of
ProductComparisonStatisticsAccessBean
objectspublic void setStatsDataBeanList(ProductComparisonStatisticsBean[] newStatsDataBeanList)
ProductComparisonStatisticsBean
objects that
represents all the statistics in the list.
newStatsDataBeanList
- an array of
ProductComparisonStatisticsBean
objects