Git Repository Public Repository

RRRRHHHH_Code

URLs

Copy to Clipboard
 
4f8bcc7fa6ac7640915ac3aa5e115b6d37c08a86
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
package common;

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

import domain.Owner;
import domain.RuralHouse;

public interface HouseInterface extends Remote {

	// For future implementation
	// public void modifyHouse(int houseName, Owner owner,
	// String description, String town, int nRooms, int nKitchens,
	// int nBaths, int nLivings, int nParkings);

	public void removeHouse(RuralHouse rh, Owner owner)throws RemoteException;

	public Vector<RuralHouse> getHouses(String name,String town,int nBed , int nKit, int nBath, int nPark, int nLiv) throws RemoteException;

	/**
	 * This method retrieves the existing  rural houses 
	 * 
	 * @return a Set of rural houses
	 */
	public Vector<RuralHouse> getAllRuralHouses()throws RemoteException,
	Exception, RemoteException;

	public boolean registerNewHouse(RuralHouse rh)throws RemoteException;
	
}

Commits for RRRRHHHH_CoderuralHouses client/src/common/HouseInterface.java

Diff revisions: vs.
Revision Author Commited Message
4f8bcc ... epinzolas001 Mon 18 May, 2015 09:49:54 +0000

Merge conflicts solutioned