public class ExperimentLoggingDataBean
extends java.lang.Object
ExperimentLoggingDataBean eldb = new ExperimentLoggingDataBean(experimentId, testElementId, storeId); eldb.setExperimentData(experimentName, experimentTypeId); eldb.setTestElementData(testElementName, frequency, isControl); eldb.setResultData(results, resultType); eldb.setTestElementWasViewed(true); ExperimentEventUtilities.sendExperimentLoggingEvent(eldb);
ExperimentLoggingDataBean eldb = new ExperimentLoggingDataBean(experimentId, testElementId, storeId); eldb.setTestElementWasClicked(true); ExperimentEventUtilities.sendExperimentLoggingEvent(eldb);
ExperimentLoggingDataBean eldb = new ExperimentLoggingDataBean(experimentId, testElementId, storeId); eldb.setTestElementWasCustom1(true); ExperimentEventUtilities.sendExperimentLoggingEvent(eldb);
Constructor and Description |
---|
ExperimentLoggingDataBean()
Creates an ExperimentLoggingDataBean.
|
ExperimentLoggingDataBean(java.lang.Integer experimentId, java.lang.Integer testElementId, java.lang.Integer storeId)
Creates an ExperimentLoggingDataBean.
|
ExperimentLoggingDataBean(java.lang.Integer experimentId, java.lang.Integer testElementId, java.lang.Integer storeId, java.lang.String sessionId)
Creates an ExperimentLoggingDataBean.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String | getDisplayFrequency()
This method gets the display frequency of the test element.
|
java.lang.String | getExperimentId()
This method gets the experiment ID of the event being logged.
|
java.lang.String | getExperimentName()
This method gets the name of the experiment of the event being logged.
|
java.lang.String | getExperimentSessionId()
This method gets the session ID to be used in experiment events.
|
java.lang.String | getExperimentTypeId()
This method gets the type of the experiment of the event being logged.
|
boolean | getIsControlTestElement()
This method gets the value that specifies whether or not this test element is the control test element.
|
java.lang.String | getIsControlTestElementAsString()
This method gets the value that specifies whether or not this test element is the control test element.
|
java.lang.String | getResults()
This method gets the results that were displayed to the customer.
|
java.lang.String | getResultType()
This method gets the type of the results that were displayed to the customer.
|
java.lang.String | getSessionId()
This method gets the session ID of the event being logged.
|
java.lang.String | getStoreId()
This method gets the store ID of the event being logged.
|
java.lang.String | getTestElementId()
This method gets the test element ID of the event being logged.
|
java.lang.String | getTestElementName()
This method gets the test element name of the event being logged.
|
boolean | getTestElementWasClicked()
This method gets the value that specifies whether or not this test element was clicked by the customer.
|
java.lang.String | getTestElementWasClickedAsString()
This method gets the value that specifies whether or not this test element was clicked by the customer.
|
boolean | getTestElementWasCustom1()
This method gets the value that specifies whether or not a custom action was performed on the test element by the customer.
|
java.lang.String | getTestElementWasCustom1AsString()
This method gets the value that specifies whether or not a custom action was performed on the test element by the customer.
|
boolean | getTestElementWasCustom2()
This method gets the value that specifies whether or not a custom action was performed on the test element by the customer.
|
java.lang.String | getTestElementWasCustom2AsString()
This method gets the value that specifies whether or not a custom action was performed on the test element by the customer.
|
boolean | getTestElementWasCustom3()
Gets if an action was performed on the test element by the customer.
|
java.lang.String | getTestElementWasCustom3AsString()
This method gets the value that specifies whether or not a custom action was performed on the test element by the customer.
|
boolean | getTestElementWasCustom4()
This method gets the value that specifies whether or not a custom action was performed on the test element by the customer.
|
java.lang.String | getTestElementWasCustom4AsString()
This method gets the value that specifies whether or not a custom action was performed on the test element by the customer.
|
boolean | getTestElementWasCustom5()
This method gets the value that specifies whether or not a custom action was performed on the test element by the customer.
|
java.lang.String | getTestElementWasCustom5AsString()
This method gets the value that specifies whether or not a custom action was performed on the test element by the customer.
|
boolean | getTestElementWasViewed()
This method gets the value that specifies whether or not this test element was viewed by the customer.
|
java.lang.String | getTestElementWasViewedAsString()
This method gets the value that specifies whether or not this test element was viewed by the customer.
|
void | setDisplayFrequency(java.lang.String freq)
This method sets the display frequency of the test element.
|
void | setExperimentData(java.lang.String experimentName, java.lang.Integer experimentTypeId)
This method sets the experiment data.
|
void | setExperimentId(java.lang.Integer expId)
This method sets the experiment ID.
|
void | setExperimentName(java.lang.String name)
This method sets the name of the experiment.
|
void | setExperimentTypeId(java.lang.Integer typeId)
This method sets the type of the experiment.
|
void | setIsControlTestElement(boolean control)
This method sets the field that indicates whether or not the test element is the control test element.
|
void | setIsControlTestElement(java.lang.String control)
This method sets the field that indicates whether or not the test element is the control test element.
|
void | setResultData(java.lang.String results, java.lang.String resultType)
This method sets the test result data.
|
void | setResults(java.lang.String results)
This method sets the results that were displayed to the customer.
|
void | setResultType(java.lang.String restype)
This method sets the type of the results that were displayed to the customer.
|
void | setSessionId(java.lang.String sessionId)
This method sets the session ID.
|
void | setStoreId(java.lang.Integer storeId)
This element sets the store ID.
|
void | setTestElementData(java.lang.String testElementName, java.lang.String frequency, boolean isControl)
This method sets the test element data.
|
void | setTestElementData(java.lang.String testElementName, java.lang.String frequency, java.lang.String isControl)
This method sets the test element data.
|
void | setTestElementId(java.lang.Integer testId)
This method sets the test element ID.
|
void | setTestElementName(java.lang.String name)
This method sets the test element name.
|
void | setTestElementWasClicked(boolean c)
This method sets the field that specifies whether or not the test element was clicked by the customer.
|
void | setTestElementWasClicked(java.lang.String c)
This method sets the field that specifies whether or not the test element was clicked by the customer.
|
void | setTestElementWasCustom1(boolean c)
This method sets the field that specifies whether or not a custom action was performed on the test element by the customer.
|
void | setTestElementWasCustom1(java.lang.String c)
This method sets the field that specifies whether or not a custom action was performed on the test element by the customer.
|
void | setTestElementWasCustom2(boolean c)
This method sets the value that specifies whether or not a custom action was performed on the test element by the customer.
|
void | setTestElementWasCustom2(java.lang.String c)
This method sets the value that specifies whether or not a custom action was performed on the test element by the customer.
|
void | setTestElementWasCustom3(boolean c)
This method sets the value that specifies whether or not a custom action was performed on the test element by the customer.
|
void | setTestElementWasCustom3(java.lang.String c)
This method sets the value that specifies whether or not a custom action was performed on the test element by the customer.
|
void | setTestElementWasCustom4(boolean c)
This method sets the value that specifies whether or not a custom action was performed on the test element by the customer.
|
void | setTestElementWasCustom4(java.lang.String c)
This method sets the value that specifies whether or not a custom action was performed on the test element by the customer.
|
void | setTestElementWasCustom5(boolean c)
This method sets the value that specifies whether or not a custom action was performed on the test element by the customer.
|
void | setTestElementWasCustom5(java.lang.String c)
This method sets the value that specifies whether or not a custom action was performed on the test element by the customer.
|
void | setTestElementWasViewed(boolean v)
This method sets the field that specifies whether or not the test element was viewed by the customer.
|
void | setTestElementWasViewed(java.lang.String v)
This method sets the field that specifies whether or not the test element was viewed by the customer.
|
java.lang.String | toString()
This method gets the string respresentation of this data bean.
|
public ExperimentLoggingDataBean(java.lang.Integer experimentId, java.lang.Integer testElementId, java.lang.Integer storeId)
public ExperimentLoggingDataBean(java.lang.Integer experimentId, java.lang.Integer testElementId, java.lang.Integer storeId, java.lang.String sessionId)
public ExperimentLoggingDataBean()
public void setExperimentData(java.lang.String experimentName, java.lang.Integer experimentTypeId)
public void setTestElementData(java.lang.String testElementName, java.lang.String frequency, boolean isControl)
public void setTestElementData(java.lang.String testElementName, java.lang.String frequency, java.lang.String isControl)
public void setResultData(java.lang.String results, java.lang.String resultType)
public void setExperimentId(java.lang.Integer expId)
public void setTestElementId(java.lang.Integer testId)
public void setStoreId(java.lang.Integer storeId)
public void setExperimentName(java.lang.String name)
public void setExperimentTypeId(java.lang.Integer typeId)
public void setSessionId(java.lang.String sessionId)
public java.lang.String getExperimentSessionId()
public void setTestElementName(java.lang.String name)
public void setDisplayFrequency(java.lang.String freq)
public void setIsControlTestElement(boolean control)
public void setIsControlTestElement(java.lang.String control)
public void setResults(java.lang.String results)
public void setResultType(java.lang.String restype)
public java.lang.String toString()
public java.lang.String getExperimentId()
public java.lang.String getTestElementId()
public java.lang.String getStoreId()
public java.lang.String getExperimentName()
public java.lang.String getExperimentTypeId()
public java.lang.String getSessionId()
public java.lang.String getTestElementName()
public java.lang.String getDisplayFrequency()
public boolean getIsControlTestElement()
public java.lang.String getIsControlTestElementAsString()
public java.lang.String getResults()
public java.lang.String getResultType()
public void setTestElementWasViewed(boolean v)
public void setTestElementWasViewed(java.lang.String v)
public boolean getTestElementWasViewed()
public java.lang.String getTestElementWasViewedAsString()
public void setTestElementWasClicked(boolean c)
public void setTestElementWasClicked(java.lang.String c)
public boolean getTestElementWasClicked()
public java.lang.String getTestElementWasClickedAsString()
public void setTestElementWasCustom1(boolean c)
public void setTestElementWasCustom1(java.lang.String c)
public boolean getTestElementWasCustom1()
public java.lang.String getTestElementWasCustom1AsString()
public void setTestElementWasCustom2(boolean c)
public void setTestElementWasCustom2(java.lang.String c)
public boolean getTestElementWasCustom2()
public java.lang.String getTestElementWasCustom2AsString()
public void setTestElementWasCustom3(boolean c)
public void setTestElementWasCustom3(java.lang.String c)
public boolean getTestElementWasCustom3()
public java.lang.String getTestElementWasCustom3AsString()
public void setTestElementWasCustom4(boolean c)
public void setTestElementWasCustom4(java.lang.String c)
public boolean getTestElementWasCustom4()
public java.lang.String getTestElementWasCustom4AsString()
public void setTestElementWasCustom5(boolean c)
public void setTestElementWasCustom5(java.lang.String c)
public boolean getTestElementWasCustom5()
public java.lang.String getTestElementWasCustom5AsString()