KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > edu > rice > rubis > beans > SB_StoreComment


1 package edu.rice.rubis.beans;
2
3 import javax.ejb.*;
4 import java.rmi.*;
5
6 /**
7  * This is the Remote Interface of the SB_StoreComment Bean
8  * @author <a HREF="mailto:cecchet@rice.edu">Emmanuel Cecchet</a> and <a HREF="mailto:julie.marguerite@inrialpes.fr">Julie Marguerite</a>
9  * @version 1.1
10  */

11 public interface SB_StoreComment extends EJBObject, Remote {
12
13  /**
14    * Create a new comment and update the rating of the user.
15    *
16    * @param fromId id of the user posting the comment
17    * @param toId id of the user who is the subject of the comment
18    * @param itemId id of the item related to the comment
19    * @param rating value of the rating for the user
20    * @param comment text of the comment
21    * @since 1.1
22    */

23   public void createComment(Integer JavaDoc fromId, Integer JavaDoc toId, Integer JavaDoc itemId, int rating, String JavaDoc comment) throws RemoteException;
24
25
26 }
27
Popular Tags