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;
 }
Exemplo n.º 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;
  }
Exemplo n.º 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;
 }
Exemplo n.º 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;
  }
Exemplo n.º 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;
  }
Exemplo n.º 7
0
 public Collection getSchoolListAll() throws Exception {
   SchoolService service = new SchoolService();
   List schoolList = new ArrayList();
   schoolList = service.getAllSchoolLabelValue(null);
   return schoolList;
 }