📄 iorderservice.java
字号:
/*
* Created on Mar 8, 2004
*
* (c) 2004, Mark Eagle, meagle@meagle.com
* relased under terms of the GNU public license
* http://www.gnu.org/licenses/licenses.html#TOCGPL
*/
package com.meagle.service;
import java.util.List;
import com.meagle.bo.Order;
import com.meagle.exception.OrderException;
import com.meagle.exception.OrderMinimumAmountException;
import com.meagle.service.dao.IOrderDAO;
/**
* @author meagle
*
*
*/
public interface IOrderService {
public abstract Order saveNewOrder(Order order)
throws OrderException, OrderMinimumAmountException;
/**
* Find an order by the user that placed the order
*
* @param user Person that placed the order
* @return Order
*/
public abstract List findOrderByUser(String user) throws OrderException;
/**
* Find an order by ID
*
* @param id
* @return Order
*/
public abstract Order findOrderById(int id) throws OrderException;
/**
* @return
*/
public abstract IOrderDAO getOrderDAO();
/**
* @param orderDAO
*/
public abstract void setOrderDAO(IOrderDAO orderDAO);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -