borrowhome.java
来自「第一步:将MyBookApp目录复制到C:下。 第二步:将book.mdb复制」· Java 代码 · 共 36 行
JAVA
36 行
/* * BorrowHome.java * * Created on 2003年5月13日, 上午11:46 *//** * * @author administrator */import java.util.*;import java.rmi.RemoteException;import javax.ejb.*;public interface BorrowHome extends EJBHome {//home method //create a borrow record. public Borrow create(String userName,String bookId) throws RemoteException, CreateException; //find the borrow record with the specific PrimaryKey public Borrow findByPrimaryKey(String id) throws FinderException, RemoteException; //find the borrow records with the specific bookName public Collection findByUserName(String userName) throws FinderException, RemoteException; public Collection findByUserNameBookId(String userName,String bookId) throws FinderException, RemoteException; }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?