| 1 27 28 package dataregistry; 29 30 import java.util.Collection ; 31 import javax.ejb.*; 32 33 34 35 38 public interface VendorPartLocalHome extends EJBLocalHome { 39 40 VendorPartLocal findByPrimaryKey(Object key) throws FinderException; 41 42 public VendorPartLocal create(String description, Double price, PartLocal partBean, VendorLocal vendorId) throws CreateException; 43 44 Collection findByDescription(String description) throws FinderException; 45 46 Collection findByPrice(Double price) throws FinderException; 47 48 VendorPartLocal create(String description, double price, PartLocal part) throws CreateException; 49 50 Double getAvgPrice() throws FinderException; 51 52 Double getTotalPricePerVendor(int vendorId); 53 54 55 } 56 | Popular Tags |