edu.rice.rubis.beans
Interface SB_BuyNow

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

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

This is the Remote Interface of the SB_BuyNow Bean

Version:
1.1
Author:
Emmanuel Cecchet and Julie Marguerite

Method Summary
 java.lang.String getBuyNowForm(java.lang.Integer itemId, java.lang.String username, java.lang.String password)
          Authenticate the user and get the information to build the html form.
 java.lang.String printItemDescriptionToBuyNow(int itemId, java.lang.String itemName, java.lang.String description, float buyNow, int quantity, int sellerId, java.lang.String sellerName, java.lang.String startDate, java.lang.String endDate, int userId)
          Display item information for the Buy Now servlet
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

getBuyNowForm

public java.lang.String getBuyNowForm(java.lang.Integer itemId,
                                      java.lang.String username,
                                      java.lang.String password)
                               throws java.rmi.RemoteException
Authenticate the user and get the information to build the html form.
Returns:
a string in html format
Since:
1.1

printItemDescriptionToBuyNow

public java.lang.String printItemDescriptionToBuyNow(int itemId,
                                                     java.lang.String itemName,
                                                     java.lang.String description,
                                                     float buyNow,
                                                     int quantity,
                                                     int sellerId,
                                                     java.lang.String sellerName,
                                                     java.lang.String startDate,
                                                     java.lang.String endDate,
                                                     int userId)
                                              throws java.rmi.RemoteException
Display item information for the Buy Now servlet
Returns:
a String containing HTML code
Throws:
java.rmi.RemoteException - if an error occurs
Since:
1.0


Copyright © 2003 - ObjectWeb Consortium - All Rights Reserved.