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.EJBLocalHome ; 7 import javax.ejb.FinderException ; 8 import javax.ejb.RemoveException ; 9 10 15 public interface BidLocalHome extends EJBLocalHome { 16 30 public BidLocal create(Integer bidUserId, Integer bidItemId, float userBid, float userMaxBid, int quantity) throws CreateException , RemoveException ; 31 32 41 public BidLocal findByPrimaryKey(BidPK id) throws FinderException ; 42 51 public Collection findByItem(Integer id) throws FinderException ; 52 53 62 public Collection findByUser(Integer id) throws FinderException ; 63 64 70 public Collection findAllBids() throws FinderException ; 71 } 72 | Popular Tags |