01: /**
02: * User: Clinton Begin Date: Jul 13, 2003 Time: 8:18:30 PM
03: */package com.ibatis.jpetstore.persistence.iface;
04:
05: import com.ibatis.common.util.PaginatedList;
06: import com.ibatis.jpetstore.domain.Item;
07: import com.ibatis.jpetstore.domain.Order;
08:
09: public interface ItemDao {
10:
11: public void updateQuantity(Order order);
12:
13: public boolean isItemInStock(String itemId);
14:
15: public PaginatedList getItemListByProduct(String productId);
16:
17: public Item getItem(String itemId);
18:
19: }
|