Example #1
0
 // Returns room price at this location
 public int queryRoomsPrice(int id, String location) throws RemoteException {
   return queryPrice(id, Hotel.getKey(location));
 }
Example #2
0
 // Adds room reservation to this customer.
 public boolean reserveRoom(int id, int customerID, String location) throws RemoteException {
   return reserveItem(id, customerID, Hotel.getKey(location), location);
 }
Example #3
0
 // Delete rooms from a location
 public boolean deleteRooms(int id, String location) throws RemoteException {
   return deleteItem(id, Hotel.getKey(location));
 }