Beispiel #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();
  }
Beispiel #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;
 }
Beispiel #3
0
  public Collection getHighSchoolListAll2() throws Exception {
    SchoolService service = new SchoolService();
    List schoolList = new ArrayList();
    Map<String, Object> hm = new HashMap<String, Object>();
    hm.put("schoolType", Constants.SchoolType_HighSchool);
    schoolList = service.getAllSchoolLabelValue2(hm);

    return schoolList;
  }
Beispiel #4
0
 public Collection getCommercialSchoolListAll() throws Exception {
   SchoolService service = new SchoolService();
   List schoolList = new ArrayList();
   log.debug("getCommercialSchoolListAll 1");
   Map<String, Object> hm = new HashMap<String, Object>();
   hm.put("schoolType", Constants.SchoolType_Commercial);
   schoolList = service.getAllSchoolLabelValue(hm);
   // getSession().put("allSchoolList", schoolList);
   return schoolList;
 }
Beispiel #5
0
  public Collection getCommercialSchoolList() throws Exception {
    Map<String, Object> hm = new HashMap<String, Object>();
    SchoolService service = new SchoolService();

    List schoolList = new ArrayList();
    try {
      hm.put("personFk", getUmdPersonPk());
      hm.put("schoolType", Constants.SchoolType_Commercial);
    } catch (Exception e) {
      log.debug("* getCommercialSchoolList *ERR********", e);
    }
    schoolList = service.getUserSchoolLabelValue(hm);
    getSession().put(Constants.SchoolType_Commercial_List, schoolList);
    return schoolList;
  }
Beispiel #6
0
  public Collection getHighSchoolList2() throws Exception {
    Map<String, Object> hm = new HashMap<String, Object>();
    SchoolService service = new SchoolService();

    List schoolList = new ArrayList();
    try {
      hm.put("personFk", getUmdPersonPk());
      hm.put("schoolType", Constants.SchoolType_HighSchool);
    } catch (Exception e) {
      log.error("* getHighSchoolList ERR********", e);
    }
    schoolList = service.getUserSchoolLabelValue2(hm);

    return schoolList;
  }
Beispiel #7
0
 public Collection getSchoolListAll() throws Exception {
   SchoolService service = new SchoolService();
   List schoolList = new ArrayList();
   schoolList = service.getAllSchoolLabelValue(null);
   return schoolList;
 }