Subversion Repositories bacoAlunos

Rev

Rev 1973 | Rev 1979 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1973 Rev 1975
Line 632... Line 632...
632
            else
632
            else
633
                return json;
633
                return json;
634
        }
634
        }
635
    }
635
    }
636
 
636
 
637
    //save
-
 
638
    public 1.5.0/docs/api/java/lang/String.html">String saveCourseReport(1.5.0/docs/api/java/lang/String.html">String reportDocumentJson,UserSession session){
-
 
639
 
637
 
640
        CourseReportDocument reportDocument =  CourseReportDocument.fromJson(reportDocumentJson);
-
 
641
 
638
 
642
 
639
 
643
 
640
 
644
        return null;
641
    //Serviço qur guarda o relatorio que ja foi editado
-
 
642
    public void saveReportEdit(1.5.0/docs/api/java/lang/String.html">String reportDocumentJson,UserSession session) throws 1.5.0/docs/api/java/io/IOException.html">IOException {
-
 
643
 
-
 
644
        CourseReportDocument reportDocument =  CourseReportDocument.fromJson(reportDocumentJson);
-
 
645
 
-
 
646
        CourseYear courseYear = DaoFactory.getCourseYearDaoImpl().findCourseYear(reportDocument.getCourseCode(), reportDocument.getYear()).get(0);
645
 
647
 
-
 
648
        courseYear.setCourseReportDocument(reportDocumentJson);
646
    }
649
    }
647
 
650
 
648
 
651
 
649
 
652
 
650
 
653