use of org.olat.modules.lecture.model.LectureBlockIdentityStatistics in project openolat by klemens.
the class LecturesStatisticsExport method addContentAggregated.
private void addContentAggregated(OpenXMLWorksheet exportSheet, OpenXMLWorkbook workbook) {
List<LectureBlockIdentityStatistics> aggregatedStatistics = lectureService.groupByIdentity(statistics);
for (LectureBlockIdentityStatistics statistic : aggregatedStatistics) {
Row row = exportSheet.newRow();
int pos = 0;
pos = addContentUser(statistic, row, pos);
addContentStatistics(statistic, row, pos, workbook);
}
}
use of org.olat.modules.lecture.model.LectureBlockIdentityStatistics in project openolat by klemens.
the class LecturesStatisticsExport method addContentDetailled.
private void addContentDetailled(OpenXMLWorksheet exportSheet, OpenXMLWorkbook workbook) {
for (LectureBlockIdentityStatistics statistic : statistics) {
Row row = exportSheet.newRow();
int pos = 0;
pos = addContentUser(statistic, row, pos);
row.addCell(pos++, statistic.getExternalRef());
row.addCell(pos++, statistic.getDisplayName());
addContentStatistics(statistic, row, pos, workbook);
}
}
Aggregations