1 25 26 package org.objectweb.jonas.jtests.beans.relation.cascade; 27 28 import java.rmi.RemoteException ; 29 import javax.ejb.CreateException ; 30 import javax.ejb.EJBHome ; 31 import javax.ejb.FinderException ; 32 import java.util.Collection ; 33 34 public interface CarHR extends EJBHome { 35 CarR create(String number, byte type, String name) throws RemoteException , CreateException ; 36 CarR findByPrimaryKey(Object primaryKey) throws RemoteException , FinderException ; 37 Collection findByName(String name) throws RemoteException , FinderException ; 38 Collection findAllCars() throws RemoteException , FinderException ; 39 } 40 | Popular Tags |