java.lang.Object | +--com.ibm.commerce.marketingcenter.events.databeans.CampaignStatisticsListDataBean
This class accesses all the entries of the campaign statistics in the
database, where each row is represented by a
CampaignStatisticsBean
.
Field Summary | |
---|---|
protected
CommandContext |
commandContext Current command context that is used to retrieve the runtime attribute like the store ID and the member ID. |
static java.lang.String |
COPYRIGHT IBM copyright notice field. |
protected
java.lang.Integer |
intv_id Initiative ID associated with all the statistics in this bean. |
protected
java.lang.Integer |
mpe_id Marketing page element ID associated with all the statistics in this bean. |
protected
java.lang.String |
orderby Order by value to be used as the order by parameter in the EJB finder. |
static java.lang.String |
ORDERBY_CLICKS Name for database column CLICKS used in the EJB finder to perform sorting on the list. |
static java.lang.String |
ORDERBY_MPENAME Name for database column MPENAME used in the EJB finder to perform sorting on the list. |
static java.lang.String |
ORDERBY_VIEWS Name for database column VIEWS used in the EJB finder to perform sorting on the list. |
protected
TypedProperty |
requestProperties The request properties object associated with the data bean. |
protected
CampaignStatisticsAccessBean[] |
statsAccessBeanList Array of CampaignStatisticsAccessBean objects that
represents all the statistics in the list. |
protected
CampaignStatisticsBean[] |
statsDataBeanList Array of CampaignStatisticsBean objects that represents
a row in the list, specified by the given index. |
Fields inherited from interface com.ibm.commerce.beans. DataBean |
emptyString |
Constructor Summary | |
---|---|
CampaignStatisticsListDataBean() Constructor for CampaignStatisticsListDataBean. |
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 |
getIntv_id() Gets the initiative ID associated with all the statistics in this bean. |
java.lang.Integer |
getMpe_id() Gets the marketing page element ID associated with all the statistics in this bean. |
java.lang.String |
getOrderby() Gets the order by value to be used as the order by parameter in the EJB finder. |
TypedProperty |
getRequestProperties() Gets the requestProperties associated with the data bean. |
CampaignStatisticsAccessBean[] |
getStatsAccessBeanList() Gets the array of CampaignStatisticsAccessBean objects
that represents all the statistics in the list. |
CampaignStatisticsBean[] |
getStatsDataBeanList() Gets the array of CampaignStatisticsBean objects that
represents all the statistics in the list. |
CampaignStatisticsBean |
getStatsDataBeanList(int i) Gets an entry in the array of CampaignStatisticsBean
objects that represents a row in the list, specified by the given
index. |
void |
populate() Populate the databean that includes all the statistics found. |
void |
setCommandContext(
CommandContext cmdContext) Sets the current command context that is used to retrieve the runtime attribute like the store ID and the member ID. |
void |
setIntv_id(java.lang.Integer newIntv_id) Sets the initiative ID associated with all the statistics in this bean, in EJB attribute type. |
void |
setIntv_id(java.lang.String newIntv_id) Sets the initiative ID associated with all the statistics in this bean. |
void |
setMpe_id(java.lang.Integer newMpe_id) Sets the marketing page element ID associated with all the statistics in this bean, in EJB attribute type. |
void |
setMpe_id(java.lang.String newMpe_id) Sets the marketing page element ID associated with all the statistics in this bean. |
void |
setOrderby(java.lang.String newOrderby) Sets the order by value to be used as the order by parameter in the EJB finder. |
void |
setRequestProperties(
TypedProperty param) Sets the requestProperties associated with the data bean. |
void |
setStatsAccessBeanList(
CampaignStatisticsAccessBean[] newStatsAccessBeanList) Sets the array of CampaignStatisticsAccessBean objects
that represents all the statistics in the list. |
void |
setStatsDataBeanList(
CampaignStatisticsBean[] newStatsDataBeanList) Sets the array of CampaignStatisticsBean 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.Integer mpe_id
protected java.lang.Integer intv_id
protected java.lang.String orderby
protected TypedProperty requestProperties
protected CommandContext commandContext
protected CampaignStatisticsBean[] statsDataBeanList
CampaignStatisticsBean
objects that represents a row
in the list, specified by the given index.
protected CampaignStatisticsAccessBean[] statsAccessBeanList
CampaignStatisticsAccessBean
objects that represents
all the statistics in the list.
public static final java.lang.String ORDERBY_MPENAME
public static final java.lang.String ORDERBY_VIEWS
public static final java.lang.String ORDERBY_CLICKS
Constructor Detail |
---|
public CampaignStatisticsListDataBean()
Method Detail |
---|
public CommandContext getCommandContext()
getCommandContext
in interface
SmartDataBean
public java.lang.Integer getIntv_id()
public java.lang.Integer getMpe_id()
public java.lang.String getOrderby()
public TypedProperty getRequestProperties()
getRequestProperties
in interface
InputDataBean
public CampaignStatisticsAccessBean[] getStatsAccessBeanList()
CampaignStatisticsAccessBean
objects that
represents all the statistics in the list.
CampaignStatisticsAccessBean
objectspublic CampaignStatisticsBean[] getStatsDataBeanList()
CampaignStatisticsBean
objects that
represents all the statistics in the list.
CampaignStatisticsBean
objectspublic CampaignStatisticsBean getStatsDataBeanList(int i)
CampaignStatisticsBean
objects
that represents a row in the list, specified by the given index.
i
- index of the arrayCampaignStatisticsBean
objectpublic void populate() throws java.lang.Exception
populate
in interface
SmartDataBean
java.lang.Exception
- Thrown whenever an exception is
encountered.public void setCommandContext(CommandContext cmdContext)
setCommandContext
in interface
SmartDataBean
cmdContext
- the current command contextpublic void setIntv_id(java.lang.Integer newIntv_id)
newIntv_id
- initiative IDpublic void setIntv_id(java.lang.String newIntv_id)
newIntv_id
- initiative IDpublic void setMpe_id(java.lang.Integer newMpe_id)
newMpe_id
- marketing page element IDpublic void setMpe_id(java.lang.String newMpe_id)
newMpe_id
- marketing page element IDpublic void setOrderby(java.lang.String newOrderby)
public void setRequestProperties(TypedProperty param)
setRequestProperties
in interface
InputDataBean
param
- The set of properties passed to the JSP page that
invokes this data bean.public void setStatsAccessBeanList(CampaignStatisticsAccessBean[] newStatsAccessBeanList)
CampaignStatisticsAccessBean
objects that
represents all the statistics in the list.
newStatsAccessBeanList
- an array of
CampaignStatisticsAccessBean
objectspublic void setStatsDataBeanList(CampaignStatisticsBean[] newStatsDataBeanList)
CampaignStatisticsBean
objects that
represents all the statistics in the list.
newStatsDataBeanList
- an array of
CampaignStatisticsBean
objects