com.ibm.commerce.pa.beans
Class SalesAssistantDataBean
java.lang.Object
|
+--com.ibm.commerce.pa.beans.DynamicDataBeanImpl
|
+--com.ibm.commerce.pa.widget.beans.TreeDataBean
|
+--com.ibm.commerce.pa.beans.SalesAssistantDataBean
- All Implemented Interfaces:
- CommandDataBean, DataBean, DynamicDataBean, InputDataBean, java.io.Serializable
- public class SalesAssistantDataBean
- extends TreeDataBean
Contains data representing a tree of questions and answers.
Constraints are set depending on the answers retrieved.
Must be used in conjunction with a Widget Bean (e.g. DynamicForm or DynamicTable)
to render the data in a browser (HTML).
- See Also:
- Serialized Form
Fields inherited from class com.ibm.commerce.pa.beans.DynamicDataBeanImpl |
constraintList, defaultWidget, errorCode, errorMessage, interfaceName, metaData, pageName, parent, parentName, requestProperties, scriptName |
Method Summary |
DsData[] |
getAnswers()
This method will return the Answer from a Question and Answer tree. |
java.lang.String |
getCommandInterfaceName()
Returns the name of the command interface. |
java.lang.String |
getDefaultLink()
Returns the default url link which is used when there is no place else for an Answer to go. |
java.lang.String |
getQuestion()
Returns the Question from a Question and Answer tree. |
void |
setDefaultLink(java.lang.String newValue)
Set the default url link which is used when there is no place else for an Answer to go. |
Methods inherited from class com.ibm.commerce.pa.beans.DynamicDataBeanImpl |
addConstraint, getConstraintList, getDefaultWidget, getErrorCode, getErrorMessage, getMetaData, getPageName, getParent, getParentName, getRequestProperties, getScriptName, setCommandInterfaceName, setConstraintList, setDefaultWidget, setErrorCode, setErrorMessage, setMetaData, setPageName, setParent, setParentName, setRequestProperties, setScriptName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COPYRIGHT
public static final java.lang.String COPYRIGHT
defaultLink
protected java.lang.String defaultLink
SalesAssistantDataBean
public SalesAssistantDataBean()
- SalesAssistantDataBean constructor.
getAnswers
public DsData[] getAnswers()
- This method will return the Answer from a Question and Answer tree.
- Returns:
- com.ibm.commerce.pa.datatype.DsData[] an array of DsData objects
getCommandInterfaceName
public java.lang.String getCommandInterfaceName()
- Returns the name of the command interface.
- Overrides:
getCommandInterfaceName
in class DynamicDataBeanImpl
- Returns:
- java.lang.String
getDefaultLink
public java.lang.String getDefaultLink()
- Returns the default url link which is used when there is no place else for an Answer to go.
- Returns:
- java.lang.String
getQuestion
public java.lang.String getQuestion()
- Returns the Question from a Question and Answer tree.
- Returns:
- java.lang.String
setDefaultLink
public void setDefaultLink(java.lang.String newValue)
- Set the default url link which is used when there is no place else for an Answer to go.
- Parameters:
newValue
- java.lang.String