edu.rice.rubis.beans
Interface SB_StoreComment

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

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

This is the Remote Interface of the SB_StoreComment Bean

Version:
1.1
Author:
Emmanuel Cecchet and Julie Marguerite

Method Summary
 void createComment(java.lang.Integer fromId, java.lang.Integer toId, java.lang.Integer itemId, int rating, java.lang.String comment)
          Create a new comment and update the rating of the user.
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

createComment

public void createComment(java.lang.Integer fromId,
                          java.lang.Integer toId,
                          java.lang.Integer itemId,
                          int rating,
                          java.lang.String comment)
                   throws java.rmi.RemoteException
Create a new comment and update the rating of the user.
Parameters:
fromId - id of the user posting the comment
toId - id of the user who is the subject of the comment
itemId - id of the item related to the comment
rating - value of the rating for the user
comment - text of the comment
Since:
1.1


Copyright © 2003 - ObjectWeb Consortium - All Rights Reserved.