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 BuyNowLocalHome extends EJBLocalHome { 16 28 public BuyNowLocal create(Integer BuyNowUserId, Integer BuyNowItemId, int quantity) throws CreateException , RemoveException ; 29 30 39 public BuyNowLocal findByPrimaryKey(BuyNowPK id) throws FinderException ; 40 41 50 public Collection findByItem(Integer id) throws FinderException ; 51 52 61 public Collection findByUser(Integer id) throws FinderException ; 62 63 69 public Collection findAllBuyNows() throws FinderException ; 70 71 78 public Collection findUserBuyNow(Integer userId) throws FinderException ; 79 80 } 81 | Popular Tags |