|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is the local Interface of the Query Bean
Method Summary | |
java.util.Vector |
getCurrentItemsInCategory(java.lang.Integer categoryId,
int startingRow,
int nbOfRows)
/** Get all the items that match a specific category and that are still to sell (auction end date is not passed). |
java.util.Vector |
getCurrentItemsInCategoryAndRegion(java.lang.Integer categoryId,
java.lang.Integer regionId,
int startingRow,
int nbOfRows)
Get all the items that match a specific category and region and that are still to sell (auction end date is not passed). |
java.util.Vector |
getItemBidHistory(java.lang.Integer itemId)
Get the bid history for an item sorted from the last bid to the first bid (oldest one). |
float |
getItemMaxBid(java.lang.Integer itemId)
Get the maximum bid (winning bid) for an item. |
int |
getItemNbOfBids(java.lang.Integer itemId)
Get the number of bids for an item. |
java.util.Vector |
getItemQtyMaxBid(int maxToCollect,
java.lang.Integer itemId)
Get the first maxToCollect bids for an item sorted from the maximum to the minimum. |
java.util.Vector |
getUserBids(java.lang.Integer userId)
Get all the latest bids for each item the user has bid on. |
java.util.Vector |
getUserWonItems(java.lang.Integer userId)
Get all the items the user won in the last 30 days. |
Methods inherited from interface javax.ejb.EJBLocalObject |
getEJBLocalHome, getPrimaryKey, isIdentical, remove |
Method Detail |
public java.util.Vector getCurrentItemsInCategory(java.lang.Integer categoryId, int startingRow, int nbOfRows)
categoryId
- id of the category you are looking forregionId
- id of the region you are looking forstartingRow
- row where result starts (0 if beginning)nbOfRows
- number of rows to getpublic java.util.Vector getCurrentItemsInCategoryAndRegion(java.lang.Integer categoryId, java.lang.Integer regionId, int startingRow, int nbOfRows)
categoryId
- id of the category you are looking forregionId
- id of the region you are looking forstartingRow
- row where result starts (0 if beginning)nbOfRows
- number of rows to getpublic float getItemMaxBid(java.lang.Integer itemId)
itemId
- item idpublic java.util.Vector getItemQtyMaxBid(int maxToCollect, java.lang.Integer itemId)
maxToCollect
- number of bids to collectitemId
- item idpublic int getItemNbOfBids(java.lang.Integer itemId)
itemId
- item idpublic java.util.Vector getItemBidHistory(java.lang.Integer itemId)
itemId
- item idpublic java.util.Vector getUserBids(java.lang.Integer userId)
userId
- user idpublic java.util.Vector getUserWonItems(java.lang.Integer userId)
userId
- user id
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |