edu.rice.rubis.beans
Interface SB_ViewUserInfo

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

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

This is the Remote Interface of the SB_ViewUserInfo Bean

Version:
1.1
Author:
Emmanuel Cecchet and Julie Marguerite

Method Summary
 java.lang.String getComments(UserHome userHome, java.lang.Integer userId)
          Get the comment related to a specific user.
 java.lang.String getUserInfo(java.lang.Integer userId)
          Get the information about a user.
 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
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

getComments

public java.lang.String getComments(UserHome userHome,
                                    java.lang.Integer userId)
                             throws java.rmi.RemoteException
Get the comment related to a specific user.
Parameters:
userHome - an UserHome value
userId - a user id
Returns:
a string in html format
Since:
1.1

getUserInfo

public java.lang.String getUserInfo(java.lang.Integer userId)
                             throws java.rmi.RemoteException
Get the information about a user.
Parameters:
userId - a user id
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.