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