java.lang.Object | +--com.ibm.commerce.bi.databeans.SegmentNotebookDataminingDatabean
Databean used to help populate the BI Closed Loop JSP Page. This bean reads data from 3 EJBs (BIClosedLoopApplyMember, BIClosedLoopSegmentation and BIClosedLoopSegmentationRef) and transforms the data into a format usable by the JSP.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT IBM Copyright field. |
Constructor Summary | |
---|---|
SegmentNotebookDataminingDatabean() Constructor which simply initializes instance variables. |
Method Summary | |
---|---|
java.lang.String |
getFilteredResults(java.lang.String modelStr,
java.lang.String segmentStr, java.lang.String scoreStr) Called only if the user has clicked the Refresh button and has entered a score threshold. |
void |
getJSArray(JspWriter out) Formats the data from EJBs into a JavaScript array for use by the JSP. |
java.lang.String |
getModelDescription(java.lang.String modelStr) Retrieve the segment description for the specified modelStr and write it to the JSP. |
java.lang.String |
getModelOptions(java.lang.String modelStr, JspWriter out) Creates the |
void |
init(
CommandContext commandContext) First method called by JSP. |
boolean |
isThereAnyData() Checks to see if the EJBs were able to find any data |
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
Constructor Detail |
---|
public SegmentNotebookDataminingDatabean()
Method Detail |
---|
public void init(CommandContext commandContext)
public java.lang.String getFilteredResults(java.lang.String modelStr, java.lang.String segmentStr, java.lang.String scoreStr)
public void getJSArray(JspWriter out)
public java.lang.String getModelOptions(java.lang.String modelStr, JspWriter out)
public boolean isThereAnyData()
public java.lang.String getModelDescription(java.lang.String modelStr)
modelStr
- String The model for which to get the
description