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