Search in sources :

Example 6 with AggregatedLectureBlocksStatistics

use of org.olat.modules.lecture.model.AggregatedLectureBlocksStatistics in project OpenOLAT by OpenOLAT.

the class ParticipantLecturesOverviewController method loadModel.

private void loadModel() {
    List<LectureBlockStatistics> statistics = lectureService.getParticipantLecturesStatistics(assessedIdentity);
    AggregatedLectureBlocksStatistics total = lectureService.aggregatedStatistics(statistics);
    tableModel.setObjects(statistics, total);
    tableEl.reset(true, true, true);
}
Also used : AggregatedLectureBlocksStatistics(org.olat.modules.lecture.model.AggregatedLectureBlocksStatistics) LectureBlockStatistics(org.olat.modules.lecture.model.LectureBlockStatistics)

Aggregations

AggregatedLectureBlocksStatistics (org.olat.modules.lecture.model.AggregatedLectureBlocksStatistics)6 LectureBlockStatistics (org.olat.modules.lecture.model.LectureBlockStatistics)4 DefaultFlexiColumnModel (org.olat.core.gui.components.form.flexible.impl.elements.table.DefaultFlexiColumnModel)2 FlexiTableColumnModel (org.olat.core.gui.components.form.flexible.impl.elements.table.FlexiTableColumnModel)2 PercentCellRenderer (org.olat.modules.lecture.ui.component.PercentCellRenderer)2 UserPropertyHandler (org.olat.user.propertyhandlers.UserPropertyHandler)2