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 |
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 itemdescription
- item's descriptioninitialPrice
- item's initial pricequantity
- number of itemsreservePrice
- item's reserve pricebuyNow
- item's price to buy it nowstartDate
- auction's start dateendDate
- auction's end dateuserId
- seller idcatagoryId
- category id- Returns:
- a string in html format
- Since:
- 1.1
Copyright © 2003 - ObjectWeb Consortium - All Rights Reserved.