📄 iproductbusiness.java
字号:
package cn.com.tarena.ecport.biz;
import java.util.List;
import cn.com.tarena.ecport.exception.ECPortException;
import cn.com.tarena.ecport.pojo.Product;
/**
* <pre>
* 商品管理的接口
* 提供商品管理相关业务的接口
* </pre>
*
* @author zhouyu 2008-1-15
*/
public interface IProductBusiness extends BaseBusiness {
/**
* 取得全部的商品
*
* @return 所有商品的List
* @throws ECPortException
*/
public List<Product> findAllProducts() throws ECPortException;
/**
* 根据商品ID取得相应的商品
*
* @param productid 商品ID
* @return 商品Pojo
* @throws ECPortException
*/
public Product getProductById(Long productid) throws ECPortException;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -