Class SendDailyNotificationSummarySchedulable
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.plugins.core.impl.schedule.AbstractStaticSchedulable
org.ametys.plugins.workspaces.project.notification.schedule.AbstractSendNotificationSummarySchedulable
org.ametys.plugins.workspaces.project.notification.schedule.SendDailyNotificationSummarySchedulable
- All Implemented Interfaces:
Schedulable
,LogEnabled
,PluginAware
,Component
,Configurable
,Contextualizable
,Serviceable
public class SendDailyNotificationSummarySchedulable
extends AbstractSendNotificationSummarySchedulable
Implementation to send a mail with the summary of all notification for the past day
-
Nested Class Summary
Nested classes/interfaces inherited from class org.ametys.plugins.core.impl.schedule.AbstractStaticSchedulable
AbstractStaticSchedulable.SchedulableParameterParser
-
Field Summary
Fields inherited from class org.ametys.plugins.workspaces.project.notification.schedule.AbstractSendNotificationSummarySchedulable
_notificationPrefHelper, _projectManager
Fields inherited from class org.ametys.plugins.core.impl.schedule.AbstractStaticSchedulable
_acceptConcurrentExecution, _context, _description, _iconGlyph, _iconLarge, _iconMedium, _iconSmall, _id, _label, _parameters, _pluginName, _private, _schedulableParameterTypeExtensionPoint, _smanager, _startTime, _userManager, PROGRESSION_TRACKER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected NotificationPreferencesHelper.Frequency
Get the notification frequencyprotected I18nizableText
Get the subject of the mailprotected ZonedDateTime
Get the earliest activity's date we want to retrieveMethods inherited from class org.ametys.plugins.workspaces.project.notification.schedule.AbstractSendNotificationSummarySchedulable
execute, service
Methods inherited from class org.ametys.plugins.core.impl.schedule.AbstractStaticSchedulable
acceptConcurrentExecution, configure, contextualize, getDescription, getIconGlyph, getIconLarge, getIconMedium, getIconSmall, getId, getLabel, getParameters, getProgressionTracker, isPrivate, setPluginInfo
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Constructor Details
-
SendDailyNotificationSummarySchedulable
-
-
Method Details
-
getI18nSubject
Description copied from class:AbstractSendNotificationSummarySchedulable
Get the subject of the mail- Specified by:
getI18nSubject
in classAbstractSendNotificationSummarySchedulable
- Returns:
- the subject of the mail
-
getFrequency
Description copied from class:AbstractSendNotificationSummarySchedulable
Get the notification frequency- Specified by:
getFrequency
in classAbstractSendNotificationSummarySchedulable
- Returns:
- the frequency
-
getTimeFrameLimit
Description copied from class:AbstractSendNotificationSummarySchedulable
Get the earliest activity's date we want to retrieve- Specified by:
getTimeFrameLimit
in classAbstractSendNotificationSummarySchedulable
- Returns:
- the date after which we want to retrieve activity
-