3 import java.rmi.Remote;
4 import java.rmi.RemoteException;
6 import java.util.Vector;
11 import domain.RuralHouse;
12 import exceptions.OfferCanNotBeBooked;
14 public interface BookingInterface extends Remote {
17 public Vector<Booking> getOffersbookings(Offer o) throws RemoteException;
20 public void denyBooking(Booking b) throws RemoteException;
23 public void acceptBooking(Booking b) throws RemoteException;
25 public Vector<Booking> createBooking(RuralHouse ruralHouse, Date firstDate,
26 Date lastDate, Client client)
27 throws OfferCanNotBeBooked,RemoteException ;