goodshome.java

来自「一个使用java 写的进销存代码 使用了ejb 等技术 是学习j2ee的好」· Java 代码 · 共 14 行

JAVA
14
字号
package stockmanagementpro;

import javax.ejb.*;
import java.util.*;

public interface GoodsHome extends javax.ejb.EJBLocalHome {
  public Goods create(String goodsBarCode, int categoryId, String goodsName, String goodsNickName, String goodsAssistantName, String goodsPYName, String unit, String specification, String producer, int upperLimit, int lowerLimit, double salePrice, double discount) throws CreateException;
  public Collection findDiscountGoods() throws FinderException;
  public Collection findByGoodsCategory(int categoryId) throws FinderException;
  public Collection findByGoodsBarCode(String goodsBarCode) throws FinderException;
  public Collection findByGoodsName(String goodsName) throws FinderException;
  public Collection findByProducer(String producer) throws FinderException;  public Goods findByPrimaryKey(String goodsBarCode) throws FinderException;}

⌨️ 快捷键说明

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