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 BuyNowHome extends EJBHome { 16 29 public BuyNow create(Integer BuyNowUserId, Integer BuyNowItemId, int quantity) throws CreateException , RemoteException , RemoveException ; 30 31 41 public BuyNow findByPrimaryKey(BuyNowPK id) throws FinderException , RemoteException ; 42 43 53 public Collection findByItem(Integer id) throws FinderException , RemoteException ; 54 55 65 public Collection findByUser(Integer id) throws FinderException , RemoteException ; 66 67 74 public Collection findAllBuyNows() throws RemoteException , FinderException ; 75 76 84 public Collection findUserBuyNow(Integer userId) throws RemoteException , FinderException ; 85 86 } 87 | Popular Tags |