01: package team;
02:
03: import javax.ejb.*;
04:
05: /**
06: * This is the local-home interface for League enterprise bean.
07: */
08: public interface LeagueLocalHome extends EJBLocalHome {
09:
10: team.LeagueLocal findByPrimaryKey(String key)
11: throws FinderException;
12:
13: public team.LeagueLocal create(String id, String name, String sport)
14: throws CreateException;
15:
16: java.util.Collection findByName(String name) throws FinderException;
17:
18: java.util.Collection findBySport(String sport)
19: throws FinderException;
20:
21: }
|