Esempio n. 1
0
 // Returns price of cars at this location
 public int queryCarsPrice(int id, String location) throws RemoteException {
   return queryPrice(id, Car.getKey(location));
 }
Esempio n. 2
0
 // Adds car reservation to this customer.
 public boolean reserveCar(int id, int customerID, String location) throws RemoteException {
   return reserveItem(id, customerID, Car.getKey(location), location);
 }
Esempio n. 3
0
 // Delete cars from a location
 public boolean deleteCars(int id, String location) throws RemoteException {
   return deleteItem(id, Car.getKey(location));
 }