View Javadoc
1   package ejava.examples.asyncmarket.dao;
2   
3   import java.util.List;
4   import java.util.Map;
5   
6   import ejava.examples.asyncmarket.bo.Order;
7   
8   public interface OrderDAO {
9       Order createOrder(Order order);
10      Order getOrder(long orderId);
11      Order updateOrder(Order order);
12      List<Order> getOrdersforItem(long itemIdm, int index, int count);
13      List<Order> getOrders(int index, int count);    
14      List<Order> getOrders(
15          String queryString, Map<String, Object> params, int index, int count);    
16  }