01: /*
02: * JFox - The most lightweight Java EE Application Server!
03: * more details please visit http://www.huihoo.org/jfox or http://www.jfox.org.cn.
04: *
05: * JFox is licenced and re-distributable under GNU LGPL.
06: */
07: package org.jfox.petstore.bo;
08:
09: import java.util.List;
10:
11: import org.jfox.petstore.entity.Order;
12:
13: /**
14: * @author <a href="mailto:jfox.young@gmail.com">Young Yang</a>
15: */
16: public interface OrderBO {
17:
18: List<Order> getOrdersByUsername(String username);
19:
20: Order getOrder(long orderId);
21:
22: void insertOrder(Order order);
23: }
|