1 22 package org.jboss.test.testbean.interfaces; 23 24 import javax.ejb.EJBHome ; 25 import java.rmi.RemoteException ; 26 import javax.ejb.CreateException ; 27 import javax.ejb.FinderException ; 28 import java.util.Collection ; 29 import java.util.Enumeration ; 30 31 public interface EntityBMPHome extends EJBHome { 32 33 public EntityBMP create() 34 throws RemoteException , CreateException ; 35 36 public EntityBMP create(String name) 37 throws RemoteException , CreateException ; 38 39 public EntityBMP createMETHOD(String name) 40 throws RemoteException , CreateException ; 41 42 public EntityBMP findByPrimaryKey(String name) 43 throws RemoteException , FinderException ; 44 45 public Collection findCollectionKeys(int num) 46 throws RemoteException , FinderException ; 47 48 public Enumeration findEnumeratedKeys(int num) 49 throws RemoteException , FinderException ; 50 51 } 52 | Popular Tags |