KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > ent > OrdersLocalHome


1
2 package ent;
3
4 import java.math.BigDecimal JavaDoc;
5 import java.sql.Date JavaDoc;
6 import java.util.Collection JavaDoc;
7 import javax.ejb.CreateException JavaDoc;
8 import javax.ejb.EJBLocalHome JavaDoc;
9 import javax.ejb.FinderException JavaDoc;
10
11
12 /**
13  * This is the local-home interface for Orders enterprise bean.
14  */

15 public interface OrdersLocalHome extends EJBLocalHome JavaDoc {
16     
17     OrdersLocal findByPrimaryKey(Integer JavaDoc key) throws FinderException JavaDoc;
18
19     public OrdersLocal create(Integer JavaDoc orderNum, Integer JavaDoc quantity, BigDecimal JavaDoc shippingCost, Date JavaDoc salesDate, Date JavaDoc shippingDate, String JavaDoc freightCompany, ent.CustomerLocal customerId, ProductLocal productId) throws CreateException JavaDoc;
20
21     Collection JavaDoc findByOrderNum(Integer JavaDoc orderNum) throws FinderException JavaDoc;
22
23     Collection JavaDoc findByQuantity(Integer JavaDoc quantity) throws FinderException JavaDoc;
24
25     Collection JavaDoc findByShippingCost(BigDecimal JavaDoc shippingCost) throws FinderException JavaDoc;
26
27     Collection JavaDoc findByFreightCompany(String JavaDoc freightCompany) throws FinderException JavaDoc;
28     
29     
30 }
31
Popular Tags