package dynamic.people.supplementary;

import dynamic.common.TeachdbReport;

import java.util.HashMap;

/**
 * Created with IntelliJ IDEA.
 * User: John
 * Date: 26/04/12
 * Time: 12:13
 * To change this template use File | Settings | File Templates.
 */
public class StaffInfoOther {

//    static String STAFF_INFO_URL = "https://teachdb.doc.ic.ac.uk/db/viewtab?table=Staff&arg1=%25";
//
//    HashMap<String,String> salutations = new HashMap<String, String>();
//    HashMap<String,String> roles = new HashMap<String, String>();
//
//    public StaffInfoOther(){
//
//        TeachdbReport staff_info = new TeachdbReport(STAFF_INFO_URL);
//
//        for (int i = 0; i < staff_info.getRowCount(); i++) {
//            String login = staff_info.getDataAt("Login", i);
//            String salutation = staff_info.getDataAt("Title", i);
//            String role = staff_info.getDataAt("Dept<br>Role", i);
//            roles.put(login,role);
//            salutations.put(login,salutation);
//        }
//    }
//
//    public String getSalutation(String login){
//        return salutations.get(login);
//    }
//
//    public String getRole(String login){
//        return roles.get(login);
//    }

}
