RRRRHHHH_Code
Diff Revisions
fca164 ...
vs
ad3773 ...
for ruralHouses/src/businessLogic/OfferManager.java
|
@@ -56,17 +56,17 @@ |
56 |
56 |
|
|
57 |
57 |
|
|
58 |
58 |
|
public void deleteOffer(RuralHouse rh, Offer o) throws RemoteException, Exception{ |
59 |
|
- |
rh.getAllOffers().removeElement(o); |
|
59 |
+ |
rh.offers.removeElement(o); |
60 |
60 |
|
dbMngr.deleteOffer( o); |
61 |
61 |
|
} |
62 |
62 |
|
|
63 |
63 |
|
|
64 |
64 |
|
|
65 |
65 |
|
@Override |
66 |
|
- |
public Vector<RuralHouse> getRuralHouseOffers(RuralHouse rh) |
|
66 |
+ |
public Vector<Offer> getRuralHouseOffers(RuralHouse rh) |
67 |
67 |
|
throws RemoteException { |
68 |
68 |
|
// TODO Auto-generated method stub |
69 |
|
- |
return null; |
|
69 |
+ |
return dbMngr.getRHsOffer(rh.getHouseName()); |
70 |
70 |
|
} |
71 |
71 |
|
|
72 |
72 |
|
} |