The code for different owner operations mostly implemented
[RRRRHHHH_Code] / ruralHouses / src / businessLogic / HouseManagerInterface.java
1 package businessLogic;
2
3 import java.util.Date;
4
5 import domain.Offer;
6 import domain.Owner;
7 import domain.RuralHouse;
8
9 public interface HouseManagerInterface {
10
11         public boolean registerNewHouse(int houseNumber, Owner owner, String town,
12                         int nRooms, int nKitchens, int nBaths, int nLivings, int nParkings);
13
14         public boolean registerNewHouse(int houseNumber, Owner owner,
15                         String description, String town, int nRooms, int nKitchens,
16                         int nBaths, int nLivings, int nParkings);
17
18         public void modifyHouse(int houseNumber, Owner owner,
19                         String description, String town, int nRooms, int nKitchens,
20                         int nBaths, int nLivings, int nParkings);
21
22         public Offer setOffers(RuralHouse ruralHouse, Date firstDay, Date lastDay,
23                         float price);
24
25 }