minor error
[RRRRHHHH_Code] / ruralHouses / src / businessLogic / HouseManagerInterface.java
1 package businessLogic;
2
3 import java.rmi.RemoteException;
4 import java.util.Date;
5 import java.util.Vector;
6
7 import domain.Offer;
8 import domain.Owner;
9 import domain.RuralHouse;
10
11 public interface HouseManagerInterface {
12
13
14
15         public boolean registerNewHouse(String houseName, Owner owner,
16                         String description, String town, int nRooms, int nKitchens,
17                         int nBaths, int nLivings, int nParkings);
18
19         // For future implementation
20         // public void modifyHouse(int houseName, Owner owner,
21         // String description, String town, int nRooms, int nKitchens,
22         // int nBaths, int nLivings, int nParkings);
23
24         public void removeHouse(RuralHouse rh, Owner owner);
25
26         public Vector<RuralHouse> getHouses(String town,int nBed , int nKit, int nBath, int nPark, int nLiv) ;
27
28         /**
29          * @param district
30          * @return
31          */
32         public Vector<RuralHouse> getHousesByDistrict(String district);
33         
34         
35         public RuralHouse getHouseByName(String Name);
36         /**
37          * This method retrieves the existing  rural houses 
38          * 
39          * @return a Set of rural houses
40          */
41         public Vector<RuralHouse> getAllRuralHouses()throws RemoteException,
42         Exception;
43         
44 }