soa.sca.samples.candystore
Interface Store

All Known Implementing Classes:
StoreImpl

public interface Store


Method Summary
 java.lang.String add(java.lang.String itemName, int quantity)
           
 java.lang.String checkoutCart()
           
 void deleteCart()
           
 java.util.List<Entry<java.lang.String,Item>> getCartItems()
           
 java.util.List<Item> getCatalogItems()
           
 

Method Detail

getCatalogItems

java.util.List<Item> getCatalogItems()

getCartItems

java.util.List<Entry<java.lang.String,Item>> getCartItems()

add

java.lang.String add(java.lang.String itemName,
                     int quantity)

checkoutCart

java.lang.String checkoutCart()

deleteCart

void deleteCart()
                throws NotFoundException
Throws:
NotFoundException