RRRRHHHH_Code
e2ae30e55bc2a997923463dd2a1274c67fdc73a6
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 |
package businessLogic; import java.rmi.Remote; import java.rmi.RemoteException; import java.sql.Date; import java.util.Vector; import domain.Booking; import domain.Offer; import domain.Owner; import domain.RuralHouse; import exceptions.OfferCanNotBeBooked; public interface __ApplicationFacadeInterface extends Remote { /** * This method creates an offer with a house number, first day, last day and price * * @param House * number, start day, last day and price * @return None */ Offer createOffer(RuralHouse ruralHouse, Date firstDay, Date lastDay, float price) throws RemoteException, Exception; /** * This method creates a book with a corresponding parameters * * @param First * day, last day, house number and telephone * @return a book */ Booking createBooking(RuralHouse ruralHouse, Date firstDay, Date lastDay, String telephoneNumber) throws RemoteException, OfferCanNotBeBooked; /** * This method retrieves the existing owners * * @return a Set of owners */ public Vector<Owner> getOwners() throws RemoteException, Exception; public void close() throws RemoteException; } |
Commits for RRRRHHHH_CoderuralHouses/src/businessLogic/__ApplicationFacadeInterface.java
Revision | Author | Commited | Message |
---|---|---|---|
e2ae30 ... Diff | Eneko Pinzolas Murua | Tue 14 Apr, 2015 15:07:35 +0000 | imports leaned |
e16868 ... | Eneko Pinzolas Murua | Mon 09 Mar, 2015 13:02:33 +0000 | deleted aplicationFacade and imported it’s functions to specific business logics. |