1 2 package cmpdb; 3 4 import java.util.Collection ; 5 import javax.ejb.CreateException ; 6 import javax.ejb.EJBLocalHome ; 7 import javax.ejb.FinderException ; 8 9 10 13 public interface ManufactureLocalHome extends EJBLocalHome { 14 15 ManufactureLocal findByPrimaryKey(Integer key) throws FinderException ; 16 17 public ManufactureLocal create(Integer manufactureId, String name, String addressline1, String addressline2, String city, String state, String zip, String phone, String fax, String email, String rep) throws CreateException ; 18 19 Collection findByManufactureId(Integer manufactureId) throws FinderException ; 20 21 Collection findByName(String name) throws FinderException ; 22 23 Collection findByAddressline1(String addressline1) throws FinderException ; 24 25 Collection findByAddressline2(String addressline2) throws FinderException ; 26 27 Collection findByCity(String city) throws FinderException ; 28 29 Collection findByState(String state) throws FinderException ; 30 31 Collection findByZip(String zip) throws FinderException ; 32 33 Collection findByPhone(String phone) throws FinderException ; 34 35 Collection findByFax(String fax) throws FinderException ; 36 37 Collection findByEmail(String email) throws FinderException ; 38 39 Collection findByRep(String rep) throws FinderException ; 40 41 42 } 43
| Popular Tags
|