1 27 28 29 package request; 30 31 import java.rmi.RemoteException ; 32 import java.util.Collection ; 33 34 35 38 public interface RequestRemoteBusiness { 39 public void createPart(PartRequest partRequest) throws RemoteException ; 40 41 public void addPartToBillOfMaterial(BomRequest bomRequest) 42 throws RemoteException ; 43 44 public void createVendor(VendorRequest vendorRequest) 45 throws RemoteException ; 46 47 public void createVendorPart(VendorPartRequest vendorPartRequest) 48 throws RemoteException ; 49 50 public void createOrder(OrderRequest orderRequest) 51 throws RemoteException ; 52 53 public void addLineItem(LineItemRequest lineItemRequest) 54 throws RemoteException ; 55 56 public double getBillOfMaterialPrice(BomRequest bomRequest) 57 throws RemoteException ; 58 59 public Double getAvgPrice() throws RemoteException ; 60 61 public Double getTotalPricePerVendor(VendorRequest vendorRequest) 62 throws RemoteException ; 63 64 public double getOrderPrice(Integer orderId) throws RemoteException ; 65 66 public void adjustOrderDiscount(int adjustment) throws RemoteException ; 67 68 public Collection locateVendorsByPartialName(String name) 69 throws RemoteException ; 70 71 public String reportVendorsByOrder(Integer orderId) 72 throws RemoteException ; 73 74 public int countAllItems() throws RemoteException ; 75 76 public void removeOrder(Integer orderId) throws RemoteException ; 77 78 } 79 | Popular Tags |