1 3 package org.objectweb.jonas.stests.appli; 4 5 import java.util.Vector ; 6 import java.rmi.RemoteException ; 7 import javax.ejb.EJBObject ; 8 9 12 public interface OrderEntryClerk extends EJBObject { 13 14 20 21 public Vector findAllCustomers() throws RemoteException ; 22 23 31 public void setCustomer(Integer cid) throws RemoteException , CpwejbException; 32 33 48 public Vector findAllItems() throws RemoteException ; 49 64 65 public Vector findRangeOfItems(Integer lowID, Integer highID) throws RemoteException ; 66 67 68 76 77 public void addOrderLine(Integer iid, int quantity) throws RemoteException ; 78 79 80 81 84 85 public void undoAll() throws RemoteException ; 86 87 88 95 96 public boolean verifyCustomer(Integer cid) throws RemoteException ; 97 98 99 107 108 public String placeOrder() throws RemoteException , CpwejbException; 109 110 127 128 public String [] getCustomerForOrder(String wid, int did, int oid) 129 throws RemoteException , CpwejbException; 130 131 132 149 150 public Vector getItemsForOrder(String wid, int did, int oid) 151 throws RemoteException , CpwejbException; 152 153 public void createAllTables() throws RemoteException , CpwejbException; 155 156 } 157 | Popular Tags |