use of org.olat.modules.lecture.ui.export.LectureBlockExport in project OpenOLAT by OpenOLAT.
the class TeacherLecturesTableController method doExportLectureBlock.
private void doExportLectureBlock(UserRequest ureq, LectureBlock row) {
LectureBlock lectureBlock = lectureService.getLectureBlock(row);
List<Identity> teachers = lectureService.getTeachers(lectureBlock);
LectureBlockExport export = new LectureBlockExport(lectureBlock, teachers, isAdministrativeUser, authorizedAbsenceEnabled, getTranslator());
ureq.getDispatchResult().setResultingMediaResource(export);
}
use of org.olat.modules.lecture.ui.export.LectureBlockExport in project openolat by klemens.
the class TeacherLecturesTableController method doExportLectureBlock.
private void doExportLectureBlock(UserRequest ureq, LectureBlock row) {
LectureBlock lectureBlock = lectureService.getLectureBlock(row);
List<Identity> teachers = lectureService.getTeachers(lectureBlock);
LectureBlockExport export = new LectureBlockExport(lectureBlock, teachers, isAdministrativeUser, authorizedAbsenceEnabled, getTranslator());
ureq.getDispatchResult().setResultingMediaResource(export);
}
Aggregations