edu.rice.rubis.beans
Interface SB_RegisterItem

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

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

This is the Remote Interface of the SB_RegisterItem Bean

Version:
1.1
Author:
Emmanuel Cecchet and Julie Marguerite

Method Summary
 java.lang.String createItem(java.lang.String name, java.lang.String description, float initialPrice, int quantity, float reservePrice, float buyNow, java.lang.String startDate, java.lang.String endDate, int userId, int categoryId)
          Create a new item.
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

createItem

public java.lang.String createItem(java.lang.String name,
                                   java.lang.String description,
                                   float initialPrice,
                                   int quantity,
                                   float reservePrice,
                                   float buyNow,
                                   java.lang.String startDate,
                                   java.lang.String endDate,
                                   int userId,
                                   int categoryId)
                            throws java.rmi.RemoteException
Create a new item.
Parameters:
name - name of the item
description - item's description
initialPrice - item's initial price
quantity - number of items
reservePrice - item's reserve price
buyNow - item's price to buy it now
startDate - auction's start date
endDate - auction's end date
userId - seller id
catagoryId - category id
Returns:
a string in html format
Since:
1.1


Copyright © 2003 - ObjectWeb Consortium - All Rights Reserved.