1 27 28 package order; 29 30 import java.rmi.RemoteException ; 31 import java.util.ArrayList ; 32 import java.util.Collection ; 33 import javax.ejb.*; 34 35 38 39 public interface OrderRemoteHome extends EJBHome { 40 41 OrderRemote findByPrimaryKey(String key) throws FinderException, RemoteException ; 42 43 OrderRemote create(String orderId, String customerId, String status, double totalPrice, ArrayList lineItems) throws CreateException, RemoteException ; 44 45 public Collection findByProductId(String productId) throws FinderException, RemoteException ; 46 47 } 48 | Popular Tags |