1 2 package team; 3 4 import java.util.Collection ; 5 import javax.ejb.*; 6 7 8 11 public interface PlayerLocalHome extends EJBLocalHome { 12 13 PlayerLocal findByPrimaryKey(String key) throws FinderException; 14 15 public PlayerLocal create(String id, String name, String position, Double salary) throws CreateException; 16 17 Collection findByName(String name) throws FinderException; 18 19 Collection findByPosition(String position) throws FinderException; 20 21 Collection findBySalary(Double salary) throws FinderException; 22 23 Collection findAll() throws FinderException; 24 25 Collection findByHigherSalary(String name) throws FinderException; 26 27 Collection findByPositionAndName(String position, String name) throws FinderException; 28 29 Collection findBySalaryRange(double low, double high) throws FinderException; 30 31 Collection findBySport(String sport) throws FinderException; 32 33 Collection findByTest(String param1, String param2, String param3) throws FinderException; 34 35 Collection findNotOnTeam() throws FinderException; 36 37 Collection findByCity(String city) throws FinderException; 38 39 Collection findByLeague(LeagueLocal league) throws FinderException; 40 41 42 43 } 44 | Popular Tags |