Search in sources :

Example 6 with ReminderService

use of org.olat.modules.reminder.ReminderService in project openolat by klemens.

the class ReminderJob method executeWithDB.

@Override
public void executeWithDB(JobExecutionContext context) throws JobExecutionException {
    ReminderModule reminderModule = CoreSpringFactory.getImpl(ReminderModule.class);
    if (reminderModule.isEnabled()) {
        ReminderService reminderService = CoreSpringFactory.getImpl(ReminderService.class);
        reminderService.remindAll();
    }
}
Also used : ReminderService(org.olat.modules.reminder.ReminderService) ReminderModule(org.olat.modules.reminder.ReminderModule)

Aggregations

ReminderModule (org.olat.modules.reminder.ReminderModule)6 ReminderService (org.olat.modules.reminder.ReminderService)6 Reminder (org.olat.modules.reminder.Reminder)4 ReminderRule (org.olat.modules.reminder.ReminderRule)4 RuleSPI (org.olat.modules.reminder.RuleSPI)4 ReminderRules (org.olat.modules.reminder.model.ReminderRules)4