iproductbusiness.java

来自「购物车系统」· Java 代码 · 共 37 行

JAVA
37
字号
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 + =
减小字号Ctrl + -
显示快捷键?