//COMPLETELY CHECKED package backOffice; import java.rmi.*; import java.util.GregorianCalendar; import java.util.Vector; import messages.Message; public interface BackOfficeRemoteInterface extends Remote{ abstract void sendPositiveFeedback(Message feedback) throws RemoteException; abstract void sendNegativeFeedback(Message feedback) throws RemoteException; abstract String registerOperator(String comp, String name, String addr, String phone, String mail,String password) throws RemoteException; abstract String loginOperator(String user, String pass) throws RemoteException; abstract Vector<String> getDestinations() throws RemoteException; abstract double getPrice(String orig, String dest) throws RemoteException; abstract String scheduleCharter(GregorianCalendar date, String origin, String destination,int seats) throws RemoteException; abstract String scheduleBooking(int idFlight, String name, String address, String phone, String mail, int seats, boolean isOperator, int bookingNumber) throws RemoteException; abstract String modifyBooking(int idFlight, int idBooking, int idNewFlight, boolean isOperator, int bookingNumber) throws RemoteException; abstract String cancelBooking(int idFlight, int idBooking) throws RemoteException; abstract String listFlights() throws RemoteException; abstract String getBookingInfo(int idFlight, int idBooking) throws RemoteException; abstract String findFlights(int year, int month, int day, String origin, String destination) throws RemoteException; abstract Double [] bookingPrice(int idFlight, String clientName) throws RemoteException; abstract void updateMiles(Double miles, String mail) throws RemoteException; }