1 package edu.rice.rubis.beans; 2 3 import javax.ejb.*; 4 import java.rmi.*; 5 import java.util.Vector ; 6 7 12 public interface Query extends EJBObject, Remote { 13 29 public Vector getCurrentItemsInCategory(Integer categoryId, int startingRow, int nbOfRows) throws RemoteException; 30 31 46 public Vector getCurrentItemsInCategoryAndRegion(Integer categoryId, Integer regionId, int startingRow, int nbOfRows) throws RemoteException; 47 48 57 public float getItemMaxBid(Integer itemId) throws RemoteException; 58 59 70 public Vector getItemQtyMaxBid(int maxToCollect, Integer itemId) throws RemoteException; 71 72 81 public int getItemNbOfBids(Integer itemId) throws RemoteException; 82 83 93 public Vector getItemBidHistory(Integer itemId) throws RemoteException; 94 95 104 public Vector getUserBids(Integer userId) throws RemoteException; 105 106 115 public Vector getUserWonItems(Integer userId) throws RemoteException; 116 117 118 119 120 121 } 122 | Popular Tags |