webauction.java
来自「J2EE开发与Weblogic一书中的源代码」· Java 代码 · 共 35 行
JAVA
35 行
package webauction.ejb;
import java.rmi.RemoteException;
import javax.ejb.CreateException;
import javax.ejb.EJBObject;
public interface WebAuction extends EJBObject {
BidValueHolder[] getBidsForUser(String userName)
throws NoSuchUserException, RemoteException;
ItemValueHolder getItemWithId(int id)
throws NoSuchItemException, RemoteException;
ItemValueHolder[] getItemsInCategory(String category)
throws RemoteException;
ItemValueHolder createItem(String userId, String desc, String cat, long date)
throws RemoteException;
void createUser(
String userName,
String password,
String firstName,
String lastName,
String streetAddress,
String city,
String zipcode,
String email)
throws RemoteException, CreateException;
boolean userExists(String userName) throws RemoteException;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?