KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > team > TeamLocalHome


1
2 package team;
3
4 import java.util.Collection JavaDoc;
5 import javax.ejb.*;
6
7
8 /**
9  * This is the local-home interface for Team enterprise bean.
10  */

11 public interface TeamLocalHome extends EJBLocalHome {
12
13     public TeamLocal create(String JavaDoc id, String JavaDoc name, String JavaDoc city) throws CreateException;
14
15     TeamLocal findByPrimaryKey(String JavaDoc key) throws FinderException;
16
17     Collection JavaDoc findByName(String JavaDoc name) throws FinderException;
18
19     Collection JavaDoc findByCity(String JavaDoc city) throws FinderException;
20     
21 }
22
Popular Tags