Git Repository Public Repository

RRRRHHHH_Code

URLs

Copy to Clipboard
 
7999499eee1fc932aeef9a813206d37313d7a753
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
package common;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.sql.Date;
import java.util.Vector;

import domain.Offer;
import domain.RuralHouse;
import exceptions.BadDates;
import exceptions.OverlappingOfferExists;

public interface OfferInterface 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 the created offer, or null, or an exception
	 */
	public Offer createOffer(RuralHouse ruralHouse, Date firstDay,
			Date lastDay, float price) throws OverlappingOfferExists, BadDates,
			RemoteException, Exception;

	public void deleteOffer(RuralHouse rh, Offer o) throws RemoteException,
			Exception;
	
	public Vector<RuralHouse> getRuralHouseOffers(RuralHouse rh)throws RemoteException;

}

Commits for RRRRHHHH_CoderuralHouses/src/common/OfferInterface.java

Diff revisions: vs.
Revision Author Commited Message
799949 ... Diff Diff epinzolas001 Mon 18 May, 2015 11:12:36 +0000

debugging

4f8bcc ... epinzolas001 Mon 18 May, 2015 09:49:54 +0000

Merge conflicts solutioned