1 22 package org.jboss.test.entityexc.interfaces; 23 24 import java.util.Collection ; 25 26 import java.rmi.RemoteException ; 27 28 import javax.ejb.EJBHome ; 29 import javax.ejb.CreateException ; 30 import javax.ejb.FinderException ; 31 32 38 public interface EntityExcHome extends EJBHome 39 { 40 43 public final String JNDI_NAME = "EntityExc"; 44 45 48 public EntityExc create(Integer id, int flags) 49 throws MyAppException, CreateException , RemoteException ; 50 51 54 public EntityExc findByPrimaryKey(Integer key, int flags) 55 throws MyAppException, FinderException , RemoteException ; 56 57 60 public Collection findAll(int flags) 61 throws MyAppException, FinderException , RemoteException ; 62 63 71 public void resetDatabase() 72 throws RemoteException ; 73 } 74 | Popular Tags |