KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > cmp > CustomerLocalHome


1
2 package cmp;
3
4
5 /**
6  * This is the local-home interface for Customer enterprise bean.
7  */

8 public interface CustomerLocalHome extends javax.ejb.EJBLocalHome JavaDoc {
9     
10     
11     cmp.CustomerLocal findByPrimaryKey(java.lang.Long JavaDoc key) throws javax.ejb.FinderException JavaDoc;
12
13     public cmp.CustomerLocal create(java.lang.Long JavaDoc id, java.lang.String JavaDoc lastName, java.lang.String JavaDoc firstName) throws javax.ejb.CreateException JavaDoc;
14
15     java.util.Collection JavaDoc findById(java.lang.Long JavaDoc id) throws javax.ejb.FinderException JavaDoc;
16
17     java.util.Collection JavaDoc findByLastName(java.lang.String JavaDoc lastName) throws javax.ejb.FinderException JavaDoc;
18
19     java.util.Collection JavaDoc findByFirstName(java.lang.String JavaDoc firstName) throws javax.ejb.FinderException JavaDoc;
20     
21     
22 }
23
Popular Tags