1 4 package test.ejb.cmr; 5 6 13 public interface CountryLocalHome 14 extends javax.ejb.EJBLocalHome 15 { 16 public static final String COMP_NAME="java:comp/env/ejb/CountryLocal"; 17 public static final String JNDI_NAME="airline.CountryLocalHome"; 18 19 public test.ejb.cmr.CountryLocal create(java.lang.Integer countryId , java.lang.String name , test.ejb.cmr.CountryLocal country) 20 throws javax.ejb.CreateException ; 21 22 public java.util.Collection findAll() 23 throws javax.ejb.FinderException ; 24 25 public java.util.Collection findByCountry(test.ejb.cmr.CountryLocal country) 26 throws javax.ejb.FinderException ; 27 28 public java.util.Collection findByName(java.lang.String name) 29 throws javax.ejb.FinderException ; 30 31 public test.ejb.cmr.CountryLocal findByPrimaryKey(java.lang.Integer pk) 32 throws javax.ejb.FinderException ; 33 34 } 35 | Popular Tags |