java.lang.Object | +--DynamicTable | +--com.ibm.commerce.pa.widget.SalesAssistantHistoryWidget
This class will render the Sales Assistant History as a table of previous questions and chosen answers.
Field Summary | |
---|---|
protected
boolean |
reverseOrder |
protected
java.lang.String |
title |
Constructor Summary | |
---|---|
SalesAssistantHistoryWidget() SalesAssistantHistoryWidget constructor. |
Method Summary | |
---|---|
boolean |
getReverseOrder() Return whether to display the history with the most recent question first. |
java.lang.String |
getTitle() Return the title to use for the history table. |
void |
render(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) Render the table. |
void |
renderQnA(
ListDataBean qna) Render an individual question and the answer selected. |
void |
setReverseOrder(boolean newValue) Set whether the most recently answered question should be displayed first. |
void |
setTitle(java.lang.String newValue) Set the title to display for the history table. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String title
protected boolean reverseOrder
Constructor Detail |
---|
public SalesAssistantHistoryWidget()
Method Detail |
---|
public boolean getReverseOrder()
public java.lang.String getTitle()
public void render(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
public void renderQnA(ListDataBean qna) throws java.io.IOException
qna
- com.ibm.commerce.beans.ListDataBeanjava.io.IOException
public void setReverseOrder(boolean newValue)
newValue
- booleanpublic void setTitle(java.lang.String newValue)
newValue
- java.lang.String