📄 webauction.java
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -