com.theopenstack.rtpdemo.model.intf
Interface RTPDEMOAdapterIF

All Known Implementing Classes:
JDBCAdapter, WSAdapter

public interface RTPDEMOAdapterIF

This is the 'master' interface for our Model. All the adapters implement this interface. Hence STRUTS Action class just calls the methods defined in this interface, on any adapter returned by the ADapter factory.


Method Summary
 PriceQuoteVO getPrice(ProductVO product, int quantity)
          Get price
 java.util.ArrayList getProducts(java.lang.String nameSearchString)
          Get products
 

Method Detail

getProducts

public java.util.ArrayList getProducts(java.lang.String nameSearchString)
Get products

Parameters:
nameSearchString -
Returns:
returns the product ArrayList

getPrice

public PriceQuoteVO getPrice(ProductVO product,
                             int quantity)
Get price

Parameters:
product -
quantity -
Returns:
returns the PriceQuoteVO