Search in sources :

Example 16 with LectureBlockAuditLog

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);
}
Also used : LectureBlock(org.olat.modules.lecture.LectureBlock) LectureBlockAuditLogExport(org.olat.modules.lecture.ui.export.LectureBlockAuditLogExport) LectureBlockAuditLog(org.olat.modules.lecture.LectureBlockAuditLog)

Aggregations

LectureBlockAuditLog (org.olat.modules.lecture.LectureBlockAuditLog)16 Date (java.util.Date)6 Test (org.junit.Test)6 LectureBlock (org.olat.modules.lecture.LectureBlock)6 RepositoryEntry (org.olat.repository.RepositoryEntry)6 Identity (org.olat.core.id.Identity)4 ArrayList (java.util.ArrayList)2 Calendar (java.util.Calendar)2 HashMap (java.util.HashMap)2 FormLink (org.olat.core.gui.components.form.flexible.elements.FormLink)2 Formatter (org.olat.core.util.Formatter)2 Row (org.olat.core.util.openxml.OpenXMLWorksheet.Row)2 LectureBlockRollCall (org.olat.modules.lecture.LectureBlockRollCall)2 LectureParticipantSummary (org.olat.modules.lecture.LectureParticipantSummary)2 LectureBlockAndRollCall (org.olat.modules.lecture.model.LectureBlockAndRollCall)2 IdentityAuditLogExport (org.olat.modules.lecture.ui.export.IdentityAuditLogExport)2 LectureBlockAuditLogExport (org.olat.modules.lecture.ui.export.LectureBlockAuditLogExport)2 RepositoryEntryAuditLogExport (org.olat.modules.lecture.ui.export.RepositoryEntryAuditLogExport)2