public class CampaignStatisticsListDataBean
extends java.lang.Object
implements com.ibm.commerce.beans.SmartDataBean
CampaignStatisticsBean
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
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.
|
Constructor and Description |
---|
CampaignStatisticsListDataBean()
Constructor for CampaignStatisticsListDataBean.
|
Modifier and Type | Method and Description |
---|---|
com.ibm.commerce.command.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.
|
com.ibm.commerce.datatype.TypedProperty |
getRequestProperties()
Gets the requestProperties associated with the data bean.
|
com.ibm.commerce.marketingcenter.events.objects.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(com.ibm.commerce.command.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(com.ibm.commerce.datatype.TypedProperty param)
Sets the requestProperties associated with the data bean.
|
void |
setStatsAccessBeanList(com.ibm.commerce.marketingcenter.events.objects.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. |
public static final java.lang.String COPYRIGHT
public static final java.lang.String ORDERBY_CLICKS
public static final java.lang.String ORDERBY_MPENAME
public static final java.lang.String ORDERBY_VIEWS
public CampaignStatisticsListDataBean()
public com.ibm.commerce.command.CommandContext getCommandContext()
getCommandContext
in interface com.ibm.commerce.beans.SmartDataBean
public java.lang.Integer getIntv_id()
public java.lang.Integer getMpe_id()
public java.lang.String getOrderby()
public com.ibm.commerce.datatype.TypedProperty getRequestProperties()
getRequestProperties
in interface com.ibm.commerce.beans.InputDataBean
public com.ibm.commerce.marketingcenter.events.objects.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 com.ibm.commerce.beans.SmartDataBean
java.lang.Exception
- Thrown whenever an exception is encountered.public void setCommandContext(com.ibm.commerce.command.CommandContext cmdContext)
setCommandContext
in interface com.ibm.commerce.beans.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)
newOrderBy
- order by valuepublic void setRequestProperties(com.ibm.commerce.datatype.TypedProperty param)
setRequestProperties
in interface com.ibm.commerce.beans.InputDataBean
param
- The set of properties passed to the JSP page that invokes this data bean.public void setStatsAccessBeanList(com.ibm.commerce.marketingcenter.events.objects.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