1 package edu.rice.rubis.beans; 2 3 import javax.ejb.*; 4 import java.rmi.*; 5 6 11 public interface SB_AboutMe extends EJBObject, Remote { 12 13 19 public String getAboutMe(String username, String password) throws RemoteException; 20 21 22 public String listItem(Integer userId, ItemHome iHome) throws RemoteException; 23 24 25 public String listBoughtItems(Integer userId, ItemHome iHome) throws RemoteException; 26 27 28 public String listWonItems(Integer userId, ItemHome iHome, QueryHome qHome) throws RemoteException; 29 30 31 public String listComments(CommentHome home, Integer userId, UserHome uHome) throws RemoteException; 32 33 34 public String listBids(Integer userId, String username, String password, ItemHome iHome, QueryHome qHome) throws RemoteException; 35 36 42 public String printUserBoughtItemHeader() throws RemoteException; 43 44 50 public String printUserWonItemHeader() throws RemoteException; 51 52 58 public String printUserBidsHeader() throws RemoteException; 59 60 66 public String printItemUserHasBidOn(Bid bid, Item item, String username, String password) throws RemoteException; 67 68 74 public String printSellHeader(String title) throws RemoteException; 75 76 82 public String printItemFooter() throws RemoteException; 83 84 90 public String printHTMLHighlighted(String msg) throws RemoteException; 91 92 98 public String printCommentHeader() throws RemoteException; 99 100 108 public String printComment(String userName, Comment comment) throws RemoteException; 109 110 116 public String printCommentFooter() throws RemoteException; 117 118 119 } 120 | Popular Tags |