01: /*
02: * Created on 2004-10-22
03: *
04: * TODO To change the template for this generated file go to
05: * Window - Preferences - Java - Code Style - Code Templates
06: */
07: package com.ibatis.jpetstore.service;
08:
09: import com.ibatis.common.util.PaginatedList;
10: import com.ibatis.jpetstore.domain.Order;
11:
12: /**
13: * @author peter.cheng TODO To change the template for this generated type
14: * comment go to Window - Preferences - Java - Code Style - Code
15: * Templates
16: */
17: public interface OrderService {
18:
19: /* ORDER */
20:
21: public void insertOrder(Order order);
22:
23: public Order getOrder(int orderId);
24:
25: public PaginatedList getOrdersByUsername(String username);
26:
27: public int getNextId(String key);
28:
29: }
|