productmgr.java
来自「本文论述了一个前台笔记本销售系统的开发过程」· Java 代码 · 共 63 行
JAVA
63 行
package com.set.home.business;
import java.util.List;
import com.set.appframe.data.GenericValueObject;
import com.set.appframe.data.SearchResult;
import com.set.appframe.exception.SystemException;
import com.set.home.model.ProductVO;
public interface ProductMgr {
/**
* 查询销售排行前十位的产品
* @return
* @throws SystemException
*/
public List searchTop10() throws SystemException ;
/**
* 查询10个销售排行和最新程度都比较好的产品,用于显示在主页面上
* @return
* @throws SystemException
*/
public List search() throws SystemException ;
/**
* 查询最新商品
* @return
* @throws SystemException
*/
public List searchNew10() throws SystemException;
/**
* 快速查询商品信息
* @param vo
* @param pageNO
* @param pageSize
* @return
* @throws SystemException
*/
public SearchResult fastsearch(ProductVO vo, int pageNO, int pageSize)
throws SystemException;
/**
* 高级查询
* @param vo
* @param pageNO
* @param pageSize
* @return
* @throws SystemException
*/
public SearchResult highsearch(ProductVO vo, int pageNO, int pageSize)
throws SystemException;
public SearchResult searchAll(ProductVO vo, int pageNO, int pageSize)
throws SystemException;
/**
* 根据ID取出一条记录
* @param id
* @return
* @throws SystemException
*/
public GenericValueObject get(String id) throws SystemException;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?