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 PhoneHR extends EJBHome { 35 PhoneR create(String number, byte type, String name) throws RemoteException , CreateException ; 36 PhoneR findByPrimaryKey(Object primaryKey) throws RemoteException , FinderException ; 37 Collection findByName(String name) throws RemoteException , FinderException ; 38 Collection findAllPhones() throws RemoteException , FinderException ; 39 } 40 | Popular Tags |