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