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