use of org.olat.modules.reminder.SentReminder in project openolat by klemens.
the class CourseReminderLogsController method updateModel.
protected void updateModel() {
List<SentReminder> sentReminders = reminderService.getSentReminders(repositoryEntry);
List<SentReminderRow> rows = new ArrayList<>(sentReminders.size());
for (SentReminder sentReminder : sentReminders) {
Identity identity = sentReminder.getIdentity();
Reminder reminder = sentReminder.getReminder();
SentReminderRow row = new SentReminderRow(reminder, sentReminder, identity, userPropertyHandlers, getLocale());
rows.add(row);
}
tableModel.setObjects(rows);
tableEl.reset();
tableEl.setVisible(rows.size() > 0);
}
Aggregations