|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.theopenstack.rtpdemo.model.adapter.WSAdapter
WS adapter invokes a web service to get products based on the search string. The Service is assumed to return a list of products in a CSV format (Comma separated value). The adapter converts this to the list of ProductVO objects and returns the list.
| Constructor Summary | |
protected |
WSAdapter()
|
| Method Summary | |
PriceQuoteVO |
getPrice(ProductVO product,
int quantity)
Get price |
java.util.ArrayList |
getProducts(java.lang.String nameSearchString)
Get products |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected WSAdapter()
| Method Detail |
public java.util.ArrayList getProducts(java.lang.String nameSearchString)
RTPDEMOAdapterIF
getProducts in interface RTPDEMOAdapterIFnameSearchString -
public PriceQuoteVO getPrice(ProductVO product,
int quantity)
RTPDEMOAdapterIF
getPrice in interface RTPDEMOAdapterIFproduct - quantity -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||