1 2 package cmpdb; 3 4 import java.util.Collection ; 5 import javax.ejb.CreateException ; 6 import javax.ejb.EJBLocalHome ; 7 import javax.ejb.FinderException ; 8 9 10 13 public interface MicroMarketsLocalHome extends EJBLocalHome { 14 15 MicroMarketsLocal findByPrimaryKey(String key) throws FinderException ; 16 17 public MicroMarketsLocal create(String zipCode, Double radius, Double areaLength, Double areaWidth) throws CreateException ; 18 19 Collection findByZipCode(String zipCode) throws FinderException ; 20 21 Collection findByRadius(Double radius) throws FinderException ; 22 23 Collection findByAreaLength(Double areaLength) throws FinderException ; 24 25 Collection findByAreaWidth(Double areaWidth) throws FinderException ; 26 27 28 } 29 | Popular Tags |