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

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

public class SalesAssistantStatisticsListDataBean
extends java.lang.Object
implements SmartDataBean

This class accesses all the entries of the sales assistant statistics in the database, where each row is represented by a SalesAssistantStatisticsBean.

See Also:
Serialized Form

Field Summary
protected  CommandContext commandContext
           
protected  java.lang.Integer conceptId
           
static java.lang.String COPYRIGHT
          IBM copyright notice field.
protected  TypedProperty requestProperties
           
protected   SalesAssistantStatisticsAccessBean[] statsAccessBeanList
           
protected   SalesAssistantStatisticsBean[] statsDataBeanList
           
protected  java.lang.Integer treeId
           
 
Fields inherited from interface com.ibm.commerce.beans. DataBean
emptyString
 
Constructor Summary
SalesAssistantStatisticsListDataBean()
          Constructor for SalesAssistantStatisticsListDataBean.
 
Method Summary
  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 getConceptId()
          Gets the concept ID associated with all the statistics in this bean, in EJB attribute type.
  TypedProperty getRequestProperties()
          Gets the requestProperties associated with the data bean.
  SalesAssistantStatisticsAccessBean[] getStatsAccessBeanList()
          Gets the array of SalesAssistantStatisticsAccessBean objects that represents all the statistics in the list.
  SalesAssistantStatisticsBean[] getStatsDataBeanList()
          Gets the array of SalesAssistantStatisticsBean objects that represents all the statistics in the list.
 java.lang.Integer getTreeId()
          Gets the tree ID associated with all the statistics in this bean, in EJB attribute type.
 void populate()
          Populate the databean that includes all the statistics found.
 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 setConceptId(java.lang.Integer newConceptId)
          Sets the concept 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( SalesAssistantStatisticsAccessBean[] newStatsAccessBeanList)
          Sets the array of SalesAssistantStatisticsAccessBean objects that represents all the statistics in the list.
 void setStatsDataBeanList( SalesAssistantStatisticsBean[] newStatsDataBeanList)
          Sets the array of SalesAssistantStatisticsBean objects that represents all the statistics in the list.
 void setTreeId(java.lang.Integer newTreeId)
          Sets the tree ID associated with all the statistics in this bean, in EJB attribute type.
 
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

treeId

protected java.lang.Integer treeId

conceptId

protected java.lang.Integer conceptId

requestProperties

protected TypedProperty requestProperties

commandContext

protected CommandContext commandContext

statsDataBeanList

protected SalesAssistantStatisticsBean[] statsDataBeanList

statsAccessBeanList

protected SalesAssistantStatisticsAccessBean[] statsAccessBeanList
Constructor Detail

SalesAssistantStatisticsListDataBean

public SalesAssistantStatisticsListDataBean()
Constructor for SalesAssistantStatisticsListDataBean.
Method Detail

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

getConceptId

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

getStatsDataBeanList

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

getTreeId

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

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.

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

setConceptId

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

setStatsDataBeanList

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

setTreeId

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