KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jfox > petstore > dao > ItemDAO


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.dao;
8
9 import java.sql.SQLException JavaDoc;
10 import java.util.List JavaDoc;
11
12 import org.jfox.petstore.entity.Item;
13 import org.jfox.petstore.entity.Order;
14
15 public interface ItemDAO {
16
17     void updateQuantity(Order order) throws SQLException JavaDoc;
18
19     int getInventoryQuantity(String JavaDoc itemId) throws SQLException JavaDoc;
20
21     List JavaDoc<Item> getItemListByProduct(String JavaDoc productId) throws SQLException JavaDoc;
22
23     Item getItem(String JavaDoc itemId) throws SQLException JavaDoc;
24
25 }
26
Popular Tags