Exemplo n.º 1
0
 // Returns room price at this location
 public int queryRoomsPrice(int id, String location) throws RemoteException {
   return queryPrice(id, Hotel.getKey(location));
 }
Exemplo n.º 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);
 }
Exemplo n.º 3
0
 // Delete rooms from a location
 public boolean deleteRooms(int id, String location) throws RemoteException {
   return deleteItem(id, Hotel.getKey(location));
 }