public class ShowSalesOrderComment extends SalesOrderComment implements IShowSalesOrderComment
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 |
---|
ShowSalesOrderComment() |
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 | createShowOrderCommentElement(SalesContainerCommentSearchResultBean abnCommentSearchResult)
This method builds the OrderComment element.
|
java.util.ArrayList | executeGetOrderComments(SearchCriteria aSearchCriteria)
This method gets a list of order comments based on the find criteria passed.
|
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 value set to 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:OrderComment> <-- createOrderCommentElement() --> . . </wc:OrderComment> <wc:OrderComment> <-- createOrderCommentElement() --> . . </wc:OrderComment> </wc:DataArea>
protected org.w3c.dom.Element createShowOrderCommentElement(SalesContainerCommentSearchResultBean abnCommentSearchResult) throws ECException
protected java.lang.String getRootElementName()
public java.util.ArrayList executeGetOrderComments(SearchCriteria aSearchCriteria) throws ECException
public int getNumSearchResults()
public void setNumSearchResults(int bNumSearchResults)
public int getResultsSetSize()
public void setResultsSetSize(int bResultsSetSize)