Exemplo n.º 1
0
  public String getFacutyByUserName(String userName) {
    String returnValue = "";
    try {
      return schoolUtilDao.getFacutyByUserName(userName);
    } catch (Exception ex) {
      ex.printStackTrace();
    }

    return returnValue;
  }
Exemplo n.º 2
0
  public String getUserNameFromRegId(String regId) {
    String returnValue = "";
    try {

      returnValue = schoolUtilDao.getUserNameFromRegId(regId);
    } catch (Exception ex) {
      ex.printStackTrace();
    }

    return returnValue;
  }
Exemplo n.º 3
0
  public String getCourseNameByCourseId(Long courseId) {
    String returnValue = "";
    try {

      returnValue = schoolUtilDao.getCourseNameByCourseId(courseId);
    } catch (Exception ex) {
      ex.printStackTrace();
    }

    return returnValue;
  }
Exemplo n.º 4
0
  public String getUnitDescMyCode(String code, String academicYear) {
    String returnValue = "";
    try {

      returnValue = schoolUtilDao.getUnitDescMyCode(code, academicYear);
    } catch (Exception ex) {
      ex.printStackTrace();
    }

    return returnValue;
  }
Exemplo n.º 5
0
 public String getCurrentAcademicYear() {
   return schoolUtilDao.getCurrentAcademicYear();
 }