public class ShowQuoteComment extends QuoteComment implements IShowQuoteComment
Modifier and Type | Field and Description |
---|---|
static java.lang.String | CLASSNAME
Class name field.
|
static java.lang.String | COPYRIGHT
IBM Copyright notice field.
|
Constructor and Description |
---|
ShowQuoteComment() |
Modifier and Type | Method and Description |
---|---|
protected void | buildDataArea()
This method builds the Data Area subsection of the reply BOD.
|
protected org.w3c.dom.Element | createShowQuoteCommentElement(SalesContainerCommentSearchResultBean abnCommentSearchResult)
This method builds the QuoteComment element.
|
java.util.ArrayList | executeGetQuoteComments(SearchCriteria aSearchCriteria)
This method gets the list of comments that meets the search criteria in the given search criteria.
|
int | getNumSearchResults()
This return the number of search results set.
|
int | getResultsSetSize()
This method returns the result sets size.
|
protected java.lang.String | getRootElementName()
This method gets the root element name of the response document.
|
void | init(CommandContext aCmdCtxt, TypedProperty aRequestProperties, TypedProperty aResponseProperties, org.w3c.dom.Document aRequestBOD, org.w3c.dom.Document aResponseBOD)
This method initializes the necessary parameters before starting to build the response Business Object Document.
|
void | setNumSearchResults(int bNumSearchResults)
This method sets the number of search results.
|
void | setResultsSetSize(int bResultsSetSize)
This method sets the result sets size.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public void init(CommandContext aCmdCtxt, TypedProperty aRequestProperties, TypedProperty aResponseProperties, org.w3c.dom.Document aRequestBOD, org.w3c.dom.Document aResponseBOD)
This method first calls the init method from the parent class.
It then calls the initializeSearchTypeMapping to initialize the mappings between the search type obtained from the SelectExpression element in the request Business Object Document to the actual values in the search bean.
protected void buildDataArea() throws ECException
The following sample indicates the structure of the DataArea element and how it is constructed.
<wc:DataArea> <oa:Show confirm="Always"/> <wc:QuoteComment> <-- createQuoteCommentElement() --> . . </wc:QuoteComment> <wc:QuoteComment> <-- createQuoteCommentElement() --> . . </wc:QuoteComment> </wc:DataArea>
protected org.w3c.dom.Element createShowQuoteCommentElement(SalesContainerCommentSearchResultBean abnCommentSearchResult) throws ECException
protected java.lang.String getRootElementName()
public java.util.ArrayList executeGetQuoteComments(SearchCriteria aSearchCriteria) throws ECException
public int getNumSearchResults()
public void setNumSearchResults(int bNumSearchResults)
public int getResultsSetSize()
public void setResultsSetSize(int bResultsSetSize)