Exemplo n.º 1
0
  public String getSchoolName(String schoolNumber) throws DaoException {
    SchoolService service = new SchoolService();
    Map<String, Object> hm = new HashMap<String, Object>();
    hm.put("schoolNumber", schoolNumber);
    School school = service.getSchool(hm);

    return school.getSchoolName();
  }
Exemplo n.º 2
0
 public String getSchoolNumber(Integer schoolFk) throws DaoException {
   SchoolService service = new SchoolService();
   Map<String, Object> hm = new HashMap<String, Object>();
   hm.put("schoolPk", schoolFk);
   hm.put("showDeleted", "true");
   School school = service.getSchool(hm);
   String schoolNumber = school.getSchoolNumber();
   return schoolNumber;
 }