|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is the Remote Interface for the Bid Bean
Method Summary | |
float |
getBid()
Get the bid of the user. |
java.lang.String |
getBidderNickName()
Give the nick name of the bidder. |
java.lang.String |
getDate()
Time of the Bid in the format 'YYYY-MM-DD hh:mm:ss' |
java.lang.Integer |
getId()
Get bid's id. |
java.lang.Integer |
getItemId()
Get the item id which is the primary key in the items table. |
float |
getMaxBid()
Get the maximum bid wanted by the user. |
int |
getQuantity()
Get how many of this item the user wants. |
java.lang.Integer |
getUserId()
Get the user id which is the primary key in the users table. |
java.lang.String |
printBidHistory()
Display bid history information as an HTML table row |
void |
setBid(float newBid)
Set a new bid on the item for the user |
void |
setDate(java.lang.String newDate)
Set a new date for this bid |
void |
setItemId(java.lang.Integer id)
Set a new item identifier. |
void |
setMaxBid(float newBid)
Set a new maximum bid on the item for the user |
void |
setQuantity(int Qty)
Set a new quantity for this bid |
void |
setUserId(java.lang.Integer id)
Set a new user identifier. |
Methods inherited from interface javax.ejb.EJBObject |
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove |
Method Detail |
public java.lang.Integer getId() throws java.rmi.RemoteException
java.rmi.RemoteException
- if an error occurspublic java.lang.Integer getUserId() throws java.rmi.RemoteException
java.rmi.RemoteException
- if an error occurspublic java.lang.Integer getItemId() throws java.rmi.RemoteException
java.rmi.RemoteException
- if an error occurspublic int getQuantity() throws java.rmi.RemoteException
java.rmi.RemoteException
- if an error occurspublic float getBid() throws java.rmi.RemoteException
java.rmi.RemoteException
- if an error occurspublic float getMaxBid() throws java.rmi.RemoteException
java.rmi.RemoteException
- if an error occurspublic java.lang.String getDate() throws java.rmi.RemoteException
java.rmi.RemoteException
- if an error occurspublic java.lang.String getBidderNickName() throws java.rmi.RemoteException
java.rmi.RemoteException
- if an error occurspublic void setUserId(java.lang.Integer id) throws java.rmi.RemoteException
id
- user idjava.rmi.RemoteException
- if an error occurspublic void setItemId(java.lang.Integer id) throws java.rmi.RemoteException
id
- item idjava.rmi.RemoteException
- if an error occurspublic void setQuantity(int Qty) throws java.rmi.RemoteException
Qty
- quantityjava.rmi.RemoteException
- if an error occurspublic void setBid(float newBid) throws java.rmi.RemoteException
newBid
- bid pricejava.rmi.RemoteException
- if an error occurspublic void setMaxBid(float newBid) throws java.rmi.RemoteException
newBid
- maximum bid pricejava.rmi.RemoteException
- if an error occurspublic void setDate(java.lang.String newDate) throws java.rmi.RemoteException
newDate
- bid datejava.rmi.RemoteException
- if an error occurspublic java.lang.String printBidHistory() throws java.rmi.RemoteException
String
containing HTML codejava.rmi.RemoteException
- if an error occurs
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |