?? 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 + -