📄 readerinfohomeint.java
字号:
package library.ejb;
import java.util.Collection;
import java.rmi.RemoteException;
import javax.ejb.*;
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
//这是Entity Bean的Home接口
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
public interface ReaderInfoHomeInt extends EJBHome
{
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
//建立两个返回Remote Interface对象的抽象方法create()
//这个方法与Bean Class中的ejbCreate()和ejbPostCreate()相对应
//create()方法用于建立一条新的用户数据记录
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
public ReaderInfoRemoteInt create(String cardid) throws DuplicateKeyException,CreateException,RemoteException;
public ReaderInfoRemoteInt create(String readname,String cardid,String password,String address,String email) throws DuplicateKeyException,CreateException,RemoteException;
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
//建立一个返回Remote Interface对象的抽象方法findByPrimaryKey()
//这个方法用于搜索一条或多条用户数据记录
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
public ReaderInfoRemoteInt findByPrimaryKey(String cardid) throws ObjectNotFoundException,FinderException, RemoteException;
public Collection findAll() throws FinderException, RemoteException;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -