1 3 package org.objectweb.jonas.stests.appli; 4 5 import java.rmi.RemoteException ; 6 import javax.ejb.EJBObject ; 7 8 11 public interface Stock extends EJBObject { 12 18 19 public String getWarehouseID() throws RemoteException ; 20 public Integer getItemID() throws RemoteException ; 21 22 28 29 public int getStockQuantity() throws RemoteException ; 30 31 38 public void increaseStockQuantity(int stockQty) throws RemoteException ; 39 46 public void decreaseStockQuantity(int stockQty) throws RemoteException ; 47 48 49 56 57 public int getYearToDate() throws RemoteException ; 58 59 66 public void increaseYearToDate(int qty) throws RemoteException ; 67 68 75 76 public void decreaseYearToDate(int qty) throws RemoteException ; 77 78 85 86 public int getOrderQuantity() throws RemoteException ; 87 88 95 96 public void increaseOrderQuantity(int qty) throws RemoteException ; 97 98 105 106 public void decreaseOrderQuantity(int qty) throws RemoteException ; 107 108 115 116 public int getRemOrderQuantity() throws RemoteException ; 117 118 124 125 public void increaseRemOrderQuantity(int qty) throws RemoteException ; 126 127 134 135 public void decreaseRemOrderQuantity(int qty) throws RemoteException ; 136 137 } 138 | Popular Tags |