📄 memberorderprochomeint.java
字号:
package NetCommodityOrder.moejb;
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 + -