1 3 package org.objectweb.jonas.stests.appli; 4 5 import java.rmi.RemoteException ; 6 import java.util.Enumeration ; 7 8 import javax.ejb.CreateException ; 9 import javax.ejb.EJBHome ; 10 import javax.ejb.FinderException ; 11 12 13 21 22 public interface CustomerHome extends EJBHome { 23 24 25 36 37 public Customer create(Integer Id, String fN, String lN, String phone) 38 throws CreateException , RemoteException ; 39 40 41 60 61 public Customer create(Integer Id, String fN, String lN, String inits, 62 String addr1, String addr2, 63 String city, String state, String zip, 64 String phone, 65 float creditLimit) 66 throws CreateException , RemoteException ; 67 68 69 77 78 public Customer findByPrimaryKey(Integer primaryKey) 79 throws FinderException , RemoteException ; 80 81 82 91 92 public Enumeration findCustomers(String lastName) 93 throws FinderException , RemoteException ; 94 95 96 103 104 public Enumeration findAllCustomers() 105 throws FinderException , RemoteException ; 106 107 } 108 109 | Popular Tags |