KickJava   Java API By Example, From Geeks To Geeks.

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


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_StoreBid 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_StoreBid extends EJBObject, Remote {
12
13   /**
14    * Create a new bid and update the number of bids in the item.
15    *
16    * @param userId id of the user who is bidding
17    * @param itemId id of the item related to the bid
18    * @param bid value of the bid
19    * @param maxBid maximum bid
20    * @param qty quantity of items
21    * @since 1.1
22    */

23   public void createBid(int userId, int itemId, float bid, float maxBid, int qty) throws RemoteException;
24
25
26 }
27
Popular Tags