⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 catalogdao.java

📁 用JBuilder+Jboos+mysql实现的EJB项目
💻 JAVA
字号:
package com.jdon.estore.catalog.dao;

import com.jdon.estore.model.*;
import com.jdon.controller.model.PageIterator;

/**
 * getCategories、getProducts都是返回实体的ID集合
 *
 * <p>Copyright: Jdon.com Copyright (c) 2003</p>
 * <p>Company: 上海解道计算机技术有限公司</p>
 * @author not attributable
 * @version 1.0
 */
public interface CatalogDAO {
  public Category getCategory(String catId) throws Exception;

  public int getCategoryAllCount() throws Exception;
  public PageIterator getCategories(int start, int count) throws Exception;

  public Product getProduct(String productId) throws Exception;
  public int getProductAllCount(String catId) throws Exception;
  public PageIterator getProducts(String catId, int start, int count) throws
      Exception;

  public Item getItem(String itemId) throws Exception;

  public PageIterator getItems(String productId, int start, int size) throws
      Exception;

  public PageIterator searchItems(String query, int start, int size) throws
      Exception;

  public byte[] getImage(String Id) throws Exception;

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -