KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jfox > petstore > bo > ItemBO


1 /*
2  * JFox - The most lightweight Java EE Application Server!
3  * more details please visit http://www.huihoo.org/jfox or http://www.jfox.org.cn.
4  *
5  * JFox is licenced and re-distributable under GNU LGPL.
6  */

7 package org.jfox.petstore.bo;
8
9 import java.util.List JavaDoc;
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 JavaDoc itemId);
22
23     List JavaDoc<Item> getItemListByProduct(String JavaDoc productId);
24
25     Item getItem(String JavaDoc itemId);
26
27 }
28
Popular Tags