|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is the Remote Interface of the SB_ViewUserInfo Bean
Method Summary | |
java.lang.String |
getComments(java.lang.Integer userId,
java.sql.Connection conn)
Get the comment related to a specific user. |
java.lang.String |
getHTMLGeneralUserInformation(java.lang.String firstname,
java.lang.String lastname,
java.lang.String nickname,
java.lang.String email,
java.lang.String creationDate,
int rating)
Returns a string displaying general information about the user. |
java.lang.String |
getUserInfo(java.lang.Integer userId)
Get the information about a user. |
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 |
Methods inherited from interface javax.ejb.EJBObject |
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove |
Method Detail |
public java.lang.String getComments(java.lang.Integer userId, java.sql.Connection conn) throws java.rmi.RemoteException
userHome
- an UserHome
valueuserId
- a user idpublic java.lang.String getUserInfo(java.lang.Integer userId) throws java.rmi.RemoteException
userId
- a user idpublic java.lang.String getHTMLGeneralUserInformation(java.lang.String firstname, java.lang.String lastname, java.lang.String nickname, java.lang.String email, java.lang.String creationDate, int rating) throws java.rmi.RemoteException
java.rmi.RemoteException
- if an error occurspublic java.lang.String printCommentHeader() throws java.rmi.RemoteException
public 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 occurspublic java.lang.String printCommentFooter() throws java.rmi.RemoteException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |