KickJava   Java API By Example, From Geeks To Geeks.

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


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_RegisterItem 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_RegisterItem extends EJBObject, Remote {
12
13   /**
14    * Create a new item.
15    *
16    * @param name name of the item
17    * @param description item's description
18    * @param initialPrice item's initial price
19    * @param quantity number of items
20    * @param reservePrice item's reserve price
21    * @param buyNow item's price to buy it now
22    * @param startDate auction's start date
23    * @param endDate auction's end date
24    * @param userId seller id
25    * @param catagoryId category id
26    * @return a string in html format
27    * @since 1.1
28    */

29   public String JavaDoc createItem(String JavaDoc name, String JavaDoc description, float initialPrice, int quantity, float reservePrice, float buyNow, String JavaDoc startDate, String JavaDoc endDate, int userId, int categoryId) throws RemoteException;
30
31 }
32
Popular Tags