KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > team > LeagueLocalHome


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

10 public interface LeagueLocalHome extends EJBLocalHome {
11     
12     team.LeagueLocal findByPrimaryKey(String JavaDoc key) throws FinderException;
13
14     public team.LeagueLocal create(String JavaDoc id, String JavaDoc name, String JavaDoc sport) throws CreateException;
15
16     java.util.Collection JavaDoc findByName(String JavaDoc name) throws FinderException;
17
18     java.util.Collection JavaDoc findBySport(String JavaDoc sport) throws FinderException;
19     
20     
21 }
22
Popular Tags