Git Repository Public Repository

RRRRHHHH_Code

URLs

Copy to Clipboard

Diff Revisions 34bf26 ... vs 32ba0e ... for ruralHouses client/src/common/AdminInterface.java

Diff revisions: vs.
  @@ -10,27 +10,29 @@
10 10
11 11 public interface AdminInterface extends Remote {
12 12
13 -
14 13 public Vector<RuralHouse> getAdditionRequests() throws RemoteException;
15 14
16 - public Vector<RuralHouse> getDeletionRequests() throws RemoteException ;
15 + public Vector<RuralHouse> getDeletionRequests() throws RemoteException;
16 +
17 + public Vector<Account> getOwnerAdditionRequests() throws RemoteException;
18 +
19 + public Vector<Owner> getAllOwners() throws RemoteException;
20 +
21 + public void removeHouseAdditionRequests(RuralHouse house)
22 + throws RemoteException;
23 +
24 + public void removeHouseDeletionRequests(RuralHouse house)
25 + throws RemoteException;
26 +
27 + public void removeOwnerAdditionRequests(int index) throws RemoteException;
28 +
29 + public boolean addAdditionRequest(RuralHouse rh) throws RemoteException;
30 +
31 + public boolean addDeletionRequest(RuralHouse rh) throws RemoteException;
32 +
33 + public boolean addAccountRequest(String usr, String pss, Owner ow)
34 + throws RemoteException;
17 35
18 - public Vector<Account> getOwnerAdditionRequests() throws RemoteException ;
19 -
20 - public void removeHouseAdditionRequests(RuralHouse house) throws RemoteException ;
21 -
22 - public void removeHouseDeletionRequests(RuralHouse house) throws RemoteException ;
23 -
24 - public void removeOwnerAdditionRequests(int index) throws RemoteException ;
25 -
26 - public boolean addAdditionRequest(RuralHouse rh) throws RemoteException ;
27 -
28 - public boolean addDeletionRequest(RuralHouse rh) throws RemoteException ;
29 -
30 - public boolean addAccountRequest(String usr,
31 - String pss, Owner ow) throws RemoteException;
32 -
33 36 public void saveInstance() throws RemoteException;
34 -
35 -
37 +
36 38 }