public class ExperimentResultsListDataBean
extends com.ibm.commerce.beans.SmartDataBeanImpl
implements com.ibm.commerce.security.Protectable, com.ibm.commerce.security.Delegator
When customizing the experiment statistics, this class needs to be extended to return the custom statistics information from the EXPSTATS table.
StringBuffer addCustomDataToExpstatsQuery(StringBuffer sb)
ExperimentCustomResultDataBean populateCustomDataBean(ResultSet, int)
ExperimentCustomResultDataBean getCustomDataBean()
ExperimentCustomResultDataBean
to add getters and setters for the custom data.ExperimentResultsListDataBean
and display data from the extended ExperimentCustomResultDataBean
Constructor and Description |
---|
ExperimentResultsListDataBean()
This method constructs an
ExperimentResultsListDataBean and calls the superclass constructor, then
sets the value if tracing is enabled for the marketing component. |
ExperimentResultsListDataBean(java.lang.Integer experimentId,
java.lang.Integer storeId)
This method constructs an
ExperimentResultsListDataBean and sets the values specified by its parameters. |
Modifier and Type | Method and Description |
---|---|
com.ibm.commerce.command.CommandContext |
getCommandContext()
This method gets the current command's context.
|
ExperimentResultDataBean |
getControlElementResult()
This method gets the statistics for the control test element.
|
ExperimentCustomResultDataBean |
getCustomControlElementResult()
This method gets the custom statistics for the control test element.
|
ExperimentCustomResultDataBean[] |
getCustomTestElementResults()
This method gets the custom statistics for the test elements, not including the control test element.
|
com.ibm.commerce.security.Protectable |
getDelegate()
This method retrieves the bean's delegatee.
|
java.lang.String |
getExperimentId()
This method gets the experiment ID.
|
java.lang.Long |
getOwner()
This method returns the member ID of the owner of the store in which the experiment runs.
|
com.ibm.commerce.datatype.TypedProperty |
getRequestProperties()
This method gets the request properties.
|
java.lang.String |
getStoreId()
This method gets the store ID.
|
ExperimentResultDataBean[] |
getTestElementResults()
This method gets the statistics for the test elements, not including the control test element.
|
void |
populate()
This method gets the statistics for an experiment.
|
void |
runQuery()
This method constructs and runs the database query to get the experiment statistics.
|
void |
setCommandContext(com.ibm.commerce.command.CommandContext newICommandContext)
This method sets the command context.
|
void |
setExperimentId(java.lang.Integer experimentId)
This method sets the experiment ID.
|
void |
setRequestProperties(com.ibm.commerce.datatype.TypedProperty param)
This method sets the request properties.
|
void |
setStoreId(java.lang.Integer storeId)
This method sets the store ID.
|
void |
setTestData(com.ibm.commerce.tools.experimentation.ExperimentRuleDefinition data)
Reserved for IBM internal use.
|
fulfills, getHttpRequest, getHttpResponse, getResources, getViewCommandContext, setHttpRequest, setHttpResponse, setViewCommandContext
public ExperimentResultsListDataBean()
ExperimentResultsListDataBean
and calls the superclass constructor, then
sets the value if tracing is enabled for the marketing component.public ExperimentResultsListDataBean(java.lang.Integer experimentId, java.lang.Integer storeId)
ExperimentResultsListDataBean
and sets the values specified by its parameters.experimentId
- The experiment ID for which this databean lists statistics.storeId
- The store ID in which the experiment runs.public com.ibm.commerce.command.CommandContext getCommandContext()
getCommandContext
in interface com.ibm.commerce.beans.SmartDataBean
getCommandContext
in class com.ibm.commerce.beans.SmartDataBeanImpl
public ExperimentResultDataBean getControlElementResult()
ExperimentResultDataBean
containing the control test element statistics.public ExperimentCustomResultDataBean getCustomControlElementResult()
ExperimentCustomResultDataBean
containing the control test element custom statistics.public ExperimentCustomResultDataBean[] getCustomTestElementResults()
ExperimentCustomResultDataBean
s containing the test element custom statistics.public com.ibm.commerce.security.Protectable getDelegate() throws java.lang.Exception
getDelegate
in interface com.ibm.commerce.security.Delegator
com.ibm.commerce.accesscontrol.policymanager.Protectable
objectjava.lang.Exception
Delegator.getDelegate()
public java.lang.String getExperimentId()
public java.lang.Long getOwner() throws java.lang.Exception
getOwner
in interface com.ibm.commerce.security.Protectable
java.lang.Exception
Protectable.getOwner()
public com.ibm.commerce.datatype.TypedProperty getRequestProperties()
getRequestProperties
in interface com.ibm.commerce.beans.InputDataBean
getRequestProperties
in class com.ibm.commerce.beans.InputDataBeanImpl
public java.lang.String getStoreId()
public ExperimentResultDataBean[] getTestElementResults()
ExperimentResultDataBean
s containing the test element statistics.public void populate() throws java.lang.Exception
populate
in interface com.ibm.commerce.beans.SmartDataBean
populate
in class com.ibm.commerce.beans.SmartDataBeanImpl
java.lang.Exception
runQuery()
public void runQuery() throws java.lang.Exception
Exception
java.lang.Exception
public void setCommandContext(com.ibm.commerce.command.CommandContext newICommandContext)
setCommandContext
in interface com.ibm.commerce.beans.SmartDataBean
setCommandContext
in class com.ibm.commerce.beans.SmartDataBeanImpl
newICommandContext
- The command context.public void setExperimentId(java.lang.Integer experimentId)
experimentId
- The experiment ID.public void setRequestProperties(com.ibm.commerce.datatype.TypedProperty param)
setRequestProperties
in interface com.ibm.commerce.beans.InputDataBean
setRequestProperties
in class com.ibm.commerce.beans.InputDataBeanImpl
param
- The request properties.public void setStoreId(java.lang.Integer storeId)
storeId
- The store ID.public void setTestData(com.ibm.commerce.tools.experimentation.ExperimentRuleDefinition data)
data
- Reserved for IBM internal use.