1 package com.titan.address; 2 3 import java.util.Collection; 4 5 import com.titan.customer.CustomerLocal; 6 7 public interface AddressHomeLocal extends javax.ejb.EJBLocalHome { 9 10 public AddressLocal createAddress(String street, String city, String state, String zip ) 11 throws javax.ejb.CreateException; 12 13 public AddressLocal findByPrimaryKey(Integer primaryKey) 14 throws javax.ejb.FinderException; 15 16 public Collection findAllAddress() 17 throws javax.ejb.FinderException; 18 19 public Collection selectZipCodes(String state) 21 throws javax.ejb.FinderException; 22 23 public CustomerLocal selectCustomer(AddressLocal addr) 25 throws javax.ejb.FinderException; 26 } 27 | Popular Tags |