use of org.olat.modules.lecture.LectureBlockAuditLog in project openolat by klemens.
the class LectureListRepositoryController method doExportLog.
private void doExportLog(UserRequest ureq, LectureBlockRow row) {
LectureBlock lectureBlock = lectureService.getLectureBlock(row);
List<LectureBlockAuditLog> auditLog = lectureService.getAuditLog(row);
boolean authorizedAbsenceEnabled = lectureModule.isAuthorizedAbsenceEnabled();
LectureBlockAuditLogExport export = new LectureBlockAuditLogExport(entry, lectureBlock, auditLog, authorizedAbsenceEnabled, getTranslator());
ureq.getDispatchResult().setResultingMediaResource(export);
}
Aggregations