|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is the Remote Interface of the SB_AboutMe Bean
Method Summary | |
java.lang.String |
getAboutMe(java.lang.String username,
java.lang.String password)
Authenticate the user and get the information about the user. |
java.lang.String |
listBids(java.lang.Integer userId,
java.lang.String username,
java.lang.String password,
java.sql.Connection conn)
List items the user put a bid on in the last 30 days |
java.lang.String |
listBoughtItems(java.lang.Integer userId,
java.sql.Connection conn)
List items the user bought in the last 30 days |
java.lang.String |
listComments(java.lang.Integer userId,
java.sql.Connection conn)
List comments about the user |
java.lang.String |
listItem(java.lang.Integer userId,
java.sql.Connection conn)
List items the user is currently selling and sold in the past 30 days |
java.lang.String |
listWonItems(java.lang.Integer userId,
java.sql.Connection conn)
List items the user won in the last 30 days |
java.lang.String |
printComment(java.lang.String userName,
java.lang.String date,
java.lang.String comment,
int fromUserId)
Display comment information as an HTML table row |
java.lang.String |
printCommentFooter()
Comment footer printed function |
java.lang.String |
printCommentHeader()
Comment header printed function |
java.lang.String |
printHTMLHighlighted(java.lang.String msg)
Construct a html highlighted string. |
java.lang.String |
printItemFooter()
Item footer printed function |
java.lang.String |
printItemUserHasBidOn(int id,
java.lang.String name,
float initialPrice,
float maxBid,
float bidMaxBid,
int quantity,
java.lang.String startDate,
java.lang.String endDate,
int sellerId,
java.lang.String sellerName,
java.lang.String username,
java.lang.String password)
Display item information for the AboutMe servlet |
java.lang.String |
printSell(int id,
java.lang.String name,
float initialPrice,
float maxBid,
int quantity,
float reservePrice,
float buyNow,
java.lang.String startDate,
java.lang.String endDate)
Display item information as an HTML table row |
java.lang.String |
printSellHeader(java.lang.String title)
user's sellings header printed function |
java.lang.String |
printUserBidsHeader()
user's bids list header printed function |
java.lang.String |
printUserBoughtItem(int id,
java.lang.String name,
int qty,
float buyNow,
int sellerId,
java.lang.String sellerName)
Display item information for the AboutMe servlet |
java.lang.String |
printUserBoughtItemHeader()
user's bought items list header printed function |
java.lang.String |
printUserWonItem(int id,
java.lang.String name,
float maxBid,
int sellerId,
java.lang.String sellerName)
Display item information for the AboutMe servlet |
java.lang.String |
printUserWonItemHeader()
user's won items list header printed function |
Methods inherited from interface javax.ejb.EJBObject |
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove |
Method Detail |
public java.lang.String getAboutMe(java.lang.String username, java.lang.String password) throws java.rmi.RemoteException
public java.lang.String listItem(java.lang.Integer userId, java.sql.Connection conn) throws java.rmi.RemoteException
public java.lang.String listBoughtItems(java.lang.Integer userId, java.sql.Connection conn) throws java.rmi.RemoteException
public java.lang.String listWonItems(java.lang.Integer userId, java.sql.Connection conn) throws java.rmi.RemoteException
public java.lang.String listComments(java.lang.Integer userId, java.sql.Connection conn) throws java.rmi.RemoteException
public java.lang.String listBids(java.lang.Integer userId, java.lang.String username, java.lang.String password, java.sql.Connection conn) throws java.rmi.RemoteException
public java.lang.String printUserBoughtItemHeader() throws java.rmi.RemoteException
public java.lang.String printUserWonItemHeader() throws java.rmi.RemoteException
public java.lang.String printUserBidsHeader() throws java.rmi.RemoteException
public java.lang.String printSellHeader(java.lang.String title) throws java.rmi.RemoteException
public java.lang.String printItemFooter() throws java.rmi.RemoteException
public java.lang.String printHTMLHighlighted(java.lang.String msg) throws java.rmi.RemoteException
msg
- the message to displaypublic java.lang.String printCommentHeader() throws java.rmi.RemoteException
public java.lang.String printCommentFooter() throws java.rmi.RemoteException
public java.lang.String printUserBoughtItem(int id, java.lang.String name, int qty, float buyNow, int sellerId, java.lang.String sellerName) throws java.rmi.RemoteException
String
containing HTML codejava.rmi.RemoteException
- if an error occurspublic java.lang.String printItemUserHasBidOn(int id, java.lang.String name, float initialPrice, float maxBid, float bidMaxBid, int quantity, java.lang.String startDate, java.lang.String endDate, int sellerId, java.lang.String sellerName, java.lang.String username, java.lang.String password) throws java.rmi.RemoteException
String
containing HTML code (Warning last link must be completed by servlet)java.rmi.RemoteException
- if an error occurspublic java.lang.String printSell(int id, java.lang.String name, float initialPrice, float maxBid, int quantity, float reservePrice, float buyNow, java.lang.String startDate, java.lang.String endDate) throws java.rmi.RemoteException
String
containing HTML codejava.rmi.RemoteException
- if an error occurspublic java.lang.String printUserWonItem(int id, java.lang.String name, float maxBid, int sellerId, java.lang.String sellerName) throws java.rmi.RemoteException
String
containing HTML codejava.rmi.RemoteException
- if an error occurspublic java.lang.String printComment(java.lang.String userName, java.lang.String date, java.lang.String comment, int fromUserId) throws java.rmi.RemoteException
String
containing HTML codejava.rmi.RemoteException
- if an error occurs
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |