com.sun.j2ee.blueprints.smarticket.ejb.customer
Interface CustomerHome

All Superinterfaces:
javax.ejb.EJBHome, java.rmi.Remote

public interface CustomerHome
extends javax.ejb.EJBHome

Home interface for the Customer bean.


Method Summary
 Customer create(java.lang.String u, java.lang.String p, java.lang.String z, java.lang.String c)
          Creates a new customer with the given username, password, zip code, and credit card number.
 Customer findByPrimaryKey(java.lang.String u)
          Finds the customer with the given username.
 
Methods inherited from interface javax.ejb.EJBHome
getEJBMetaData, getHomeHandle, remove, remove
 

Method Detail

create

public Customer create(java.lang.String u,
                       java.lang.String p,
                       java.lang.String z,
                       java.lang.String c)
                throws java.rmi.RemoteException,
                       javax.ejb.DuplicateKeyException,
                       javax.ejb.CreateException
Creates a new customer with the given username, password, zip code, and credit card number.

findByPrimaryKey

public Customer findByPrimaryKey(java.lang.String u)
                          throws java.rmi.RemoteException,
                                 javax.ejb.FinderException
Finds the customer with the given username.


Copyright © 2002 Sun Microsystems Inc. All rights reserved.