EnrollmentAlertService¶
-
public class
EnrollmentAlertService
¶ Service used for managing alerts.
Methods¶
getAlertTimings¶
-
public MilestoneAlerts
getAlertTimings
(Enrollment enrollment)¶ Returns the alerts timings for the current milestone of the given enrollment.
Parameters: - enrollment – the enrollment for which timings will be retrieved
Returns: the current milestone timings.
scheduleAlertsForCurrentMilestone¶
-
public void
scheduleAlertsForCurrentMilestone
(Enrollment enrollment)¶ Schedules jobs for the alerts of the current milestone from the given enrollment.
Parameters: - enrollment – the enrollment for which jobs will be scheduled
unscheduleAllAlerts¶
-
public void
unscheduleAllAlerts
(Enrollment enrollment)¶ Unschedules the alerts jobs from for the given enrollment.
Parameters: - enrollment – the enrollment for which alerts jobs will be unscheduled