Rev 1935 | Rev 1992 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1935 | Rev 1936 | ||
---|---|---|---|
Line 538... | Line 538... | ||
538 | courseYear.get(0).setCourseReportDocument(reportDocumentJson); |
538 | courseYear.get(0).setCourseReportDocument(reportDocumentJson); |
539 | 539 | ||
540 | return courseReportDocument.toJson(); |
540 | return courseReportDocument.toJson(); |
541 | } |
541 | } |
542 | 542 | ||
543 | public 1.5.0/docs/api/java/lang/String.html">String loadCourseReportDocument (1.5.0/docs/api/java/lang/String.html">String courseCode,1.5.0/docs/api/java/lang/String.html">String year,UserSession session) throws 1.5.0/docs/api/java/io/IOException.html">IOException |
543 | public 1.5.0/docs/api/java/lang/String.html">String loadCourseReportDocument (1.5.0/docs/api/java/lang/String.html">String courseCode,1.5.0/docs/api/java/lang/String.html">String year) throws 1.5.0/docs/api/java/io/IOException.html">IOException |
544 | { |
544 | { |
545 | 545 | ||
546 | //Vai buscar (conjunto de anos??) à BaseDados (porquê uma lista) |
546 | //Vai buscar (conjunto de anos??) à BaseDados (porquê uma lista) |
547 | List<CourseYear> courseYear = DaoFactory.getCourseYearDaoImpl().findCourseYear(courseCode, year); |
547 | List<CourseYear> courseYear = DaoFactory.getCourseYearDaoImpl().findCourseYear(courseCode, year); |
548 | 1.5.0/docs/api/java/lang/String.html">String courseReport = null; |
548 | 1.5.0/docs/api/java/lang/String.html">String courseReport = null; |
Line 719... | Line 719... | ||
719 | 719 | ||
720 | // SE ELE PEDIR PARA ATUALIZAR TUDO CARREGA-SE UNIDADES E TABELAS NU DOC NOVO |
720 | // SE ELE PEDIR PARA ATUALIZAR TUDO CARREGA-SE UNIDADES E TABELAS NU DOC NOVO |
721 | // E NO BROWSER SUBSTITUI-SE ESSES ELEMENTOS NOS ANTIGOS a seccao das unidades |
721 | // E NO BROWSER SUBSTITUI-SE ESSES ELEMENTOS NOS ANTIGOS a seccao das unidades |
722 | // e as as tabelas |
722 | // e as as tabelas |
723 | 723 | ||
724 | - | ||
725 | - | ||
726 | } |
724 | } |