package mm.da;

import java.sql.SQLException;

import mm.model.User;

public interface DataInterface {
	public User login(String email) throws SQLException;
	public boolean updateUserInfo(User user) throws SQLException;
	public boolean deactivateUser(int id) throws SQLException;
	
}

@@ -46,30 +46,114 @@
 n;%0D%0A
-%0D%0Aimport mm.model.User
+import java.util.ArrayList;%0D%0A%0D%0Aimport mm.model.Pair;%0D%0Aimport mm.model.User;%0D%0Aimport mm.model.User.userType
 ;%0D%0A%0D
@@ -368,13 +368,494 @@
 tion;%0D%0A%09
+public ArrayList%3CUser%3E getUsers(userType type) throws SQLException;%0D%0A%09public User getUser(int id) throws SQLException;%0D%0A%09public boolean addUser(User u) throws SQLException;%0D%0A%09public boolean editUser(User u) throws SQLException;%0D%0A%09public ArrayList%3CPair%3E getAllPairs() throws SQLException;%0D%0A%09public boolean addPair(int mentorId, int menteeId) throws SQLException;%0D%0A%09public boolean disconnectPair(int pairId) throws SQLException;%0D%0A%09public Pair getPair(int pairId) throws SQLException;
 %0D%0A%7D%0D%0A

Update DataInterface for web cases