edu.rice.rubis.beans
Interface SB_AboutMe

All Superinterfaces:
javax.ejb.EJBObject, java.rmi.Remote

public interface SB_AboutMe
extends javax.ejb.EJBObject, java.rmi.Remote

This is the Remote Interface of the SB_AboutMe Bean

Version:
1.1
Author:
Emmanuel Cecchet and Julie Marguerite

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, ItemHome iHome, QueryHome qHome)
          List items the user put a bid on in the last 30 days
 java.lang.String listBoughtItems(java.lang.Integer userId, ItemHome iHome)
          List items the user bought in the last 30 days
 java.lang.String listComments(CommentHome home, java.lang.Integer userId, UserHome uHome)
          List comments about the user
 java.lang.String listItem(java.lang.Integer userId, ItemHome iHome)
          List items the user is currently selling and sold in the past 30 days
 java.lang.String listWonItems(java.lang.Integer userId, ItemHome iHome, QueryHome qHome)
          List items the user won in the last 30 days
 java.lang.String printComment(java.lang.String userName, Comment comment)
          Comment printed function
 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(Bid bid, Item item, java.lang.String username, java.lang.String password)
          items list printed function
 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 printUserBoughtItemHeader()
          user's bought items list header printed function
 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

getAboutMe

public java.lang.String getAboutMe(java.lang.String username,
                                   java.lang.String password)
                            throws java.rmi.RemoteException
Authenticate the user and get the information about the user.
Returns:
a string in html format
Since:
1.1

listItem

public java.lang.String listItem(java.lang.Integer userId,
                                 ItemHome iHome)
                          throws java.rmi.RemoteException
List items the user is currently selling and sold in the past 30 days

listBoughtItems

public java.lang.String listBoughtItems(java.lang.Integer userId,
                                        ItemHome iHome)
                                 throws java.rmi.RemoteException
List items the user bought in the last 30 days

listWonItems

public java.lang.String listWonItems(java.lang.Integer userId,
                                     ItemHome iHome,
                                     QueryHome qHome)
                              throws java.rmi.RemoteException
List items the user won in the last 30 days

listComments

public java.lang.String listComments(CommentHome home,
                                     java.lang.Integer userId,
                                     UserHome uHome)
                              throws java.rmi.RemoteException
List comments about the user

listBids

public java.lang.String listBids(java.lang.Integer userId,
                                 java.lang.String username,
                                 java.lang.String password,
                                 ItemHome iHome,
                                 QueryHome qHome)
                          throws java.rmi.RemoteException
List items the user put a bid on in the last 30 days

printUserBoughtItemHeader

public java.lang.String printUserBoughtItemHeader()
                                           throws java.rmi.RemoteException
user's bought items list header printed function
Returns:
a string in html format
Since:
1.1

printUserWonItemHeader

public java.lang.String printUserWonItemHeader()
                                        throws java.rmi.RemoteException
user's won items list header printed function
Returns:
a string in html format
Since:
1.1

printUserBidsHeader

public java.lang.String printUserBidsHeader()
                                     throws java.rmi.RemoteException
user's bids list header printed function
Returns:
a string in html format
Since:
1.1

printItemUserHasBidOn

public java.lang.String printItemUserHasBidOn(Bid bid,
                                              Item item,
                                              java.lang.String username,
                                              java.lang.String password)
                                       throws java.rmi.RemoteException
items list printed function
Returns:
a string in html format
Since:
1.1

printSellHeader

public java.lang.String printSellHeader(java.lang.String title)
                                 throws java.rmi.RemoteException
user's sellings header printed function
Returns:
a string in html format
Since:
1.1

printItemFooter

public java.lang.String printItemFooter()
                                 throws java.rmi.RemoteException
Item footer printed function
Returns:
a string in html format
Since:
1.1

printHTMLHighlighted

public java.lang.String printHTMLHighlighted(java.lang.String msg)
                                      throws java.rmi.RemoteException
Construct a html highlighted string.
Parameters:
msg - the message to display
Returns:
a string in html format
Since:
1.1

printCommentHeader

public java.lang.String printCommentHeader()
                                    throws java.rmi.RemoteException
Comment header printed function
Returns:
a string in html format
Since:
1.1

printComment

public java.lang.String printComment(java.lang.String userName,
                                     Comment comment)
                              throws java.rmi.RemoteException
Comment printed function
Parameters:
userName - the name of the user who is the subject of the comments
comment - the comment to display
Returns:
a string in html format
Since:
1.1

printCommentFooter

public java.lang.String printCommentFooter()
                                    throws java.rmi.RemoteException
Comment footer printed function
Returns:
a string in html format
Since:
1.1


Copyright © 2003 - ObjectWeb Consortium - All Rights Reserved.