01: /*
02: * JFox - The most lightweight Java EE Application Server!
03: * more details please visit http://www.huihoo.org/jfox or http://www.jfox.org.cn.
04: *
05: * JFox is licenced and re-distributable under GNU LGPL.
06: */
07: package org.jfox.petstore.bo;
08:
09: import java.util.List;
10:
11: import org.jfox.petstore.entity.Item;
12: import org.jfox.petstore.entity.Order;
13:
14: /**
15: * @author <a href="mailto:jfox.young@gmail.com">Young Yang</a>
16: */
17: public interface ItemBO {
18:
19: void updateQuantity(Order order);
20:
21: boolean isItemInStock(String itemId);
22:
23: List<Item> getItemListByProduct(String productId);
24:
25: Item getItem(String itemId);
26:
27: }
|