?? memberorderprochomeint.java
字號(hào):
package NetCommodityOrder.moejb;
import java.util.*;
import javax.ejb.*;
import java.rmi.RemoteException;
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
//這是EntityBean(MemberOrderProcEJB)的一個(gè)Home接口
//這個(gè)EntityBean(MemberOrderProcEJB)用來(lái)處理定單的事項(xiàng)
//它是一個(gè)Bean managed persistence EntityBean
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
public interface MemberOrderProcHomeint extends EJBHome
{
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
//建立一個(gè)返回Remote Interface對(duì)象的抽象方法create()
//create()方法用于建立一條新的數(shù)據(jù)記錄
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
public MemberOrderProcRemoteint create(String memberid,int totalprice,ArrayList commodityorder) throws RemoteException, CreateException;
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
//建立三個(gè)find方法,用于搜索一條或多條數(shù)據(jù)記錄
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
public MemberOrderProcRemoteint findByPrimaryKey(String orderid) throws FinderException, RemoteException;
public Collection findAll() throws FinderException, RemoteException;
public Collection findByMemberid(String memberid) throws FinderException, RemoteException;
}
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -