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 11 12 public interface RegionHome extends EJBHome { 13 14 23 public Region create(String name) throws CreateException , RemoteException , RemoveException ; 24 25 26 34 public Region findByPrimaryKey(RegionPK id) throws FinderException , RemoteException ; 35 36 37 44 public Region findByName(String regionName) throws FinderException , RemoteException ; 45 46 47 52 public Collection findAllRegions() throws RemoteException , FinderException ; 53 } 54 | Popular Tags |