1 27 28 package dataregistry; 29 30 import java.math.BigDecimal ; 31 import javax.ejb.*; 32 33 34 37 public interface LineItemLocalHome extends EJBLocalHome { 38 39 40 LineItemLocal findByPrimaryKey(LineItemPK key) throws FinderException; 41 42 public LineItemLocal create(Integer orderId, BigDecimal itemId, BigDecimal quantity, OrderLocal ordersBean, VendorPartLocal vendorPartNumber) throws CreateException; 43 44 java.util.Collection findByOrderId(Integer orderId) throws FinderException; 45 46 java.util.Collection findByItemId(BigDecimal itemId) throws FinderException; 47 48 java.util.Collection findByQuantity(BigDecimal quantity) throws FinderException; 49 50 LineItemLocal create(OrderLocal ordersBean, BigDecimal quantity, VendorPartLocal vendorPartNumber) throws CreateException; 51 52 java.util.Collection findAll() throws FinderException; 53 54 55 } 56 | Popular Tags |