FileDocCategorySizeDatePackage
AddressHomeLocal.javaAPI DocExample808Mon May 13 03:27:00 BST 2002com.titan.address

AddressHomeLocal.java

package com.titan.address;

import java.util.Collection;
import javax.ejb.CreateException;
import javax.ejb.FinderException;
import com.titan.customer.CustomerLocal;

// Address EJB's local home interface
public interface AddressHomeLocal extends javax.ejb.EJBLocalHome 
{  
   public AddressLocal createAddress(String street, String city, 
                                     String state,  String zip)
      throws javax.ejb.CreateException;
   
   public AddressLocal findByPrimaryKey(Integer primaryKey)
      throws javax.ejb.FinderException;

   public Collection queryZipCodes(String state)
      throws FinderException;

   public Collection queryAll()
      throws FinderException;

   public CustomerLocal queryCustomer(AddressLocal addr)
      throws FinderException;
}