1 package edu.rice.rubis.beans; 2 3 import java.rmi.RemoteException ; 4 import java.util.Collection ; 5 import javax.ejb.CreateException ; 6 import javax.ejb.EJBHome ; 7 import javax.ejb.FinderException ; 8 import javax.ejb.RemoveException ; 9 10 15 public interface BidHome extends EJBHome { 16 31 public Bid create(Integer bidUserId, Integer bidItemId, float userBid, float userMaxBid, int quantity) throws CreateException , RemoteException , RemoveException ; 32 33 43 public Bid findByPrimaryKey(BidPK id) throws FinderException , RemoteException ; 44 45 55 public Collection findByItem(Integer id) throws FinderException , RemoteException ; 56 57 67 public Collection findByUser(Integer id) throws FinderException , RemoteException ; 68 69 76 public Collection findAllBids() throws RemoteException , FinderException ; 77 } 78 | Popular Tags |