Class SendDailyNotificationSummarySchedulable
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.plugins.core.impl.schedule.AbstractStaticSchedulable
-
- org.ametys.plugins.workspaces.project.notification.AbstractSendNotificationSummarySchedulable
-
- org.ametys.plugins.workspaces.project.notification.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.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, _userManager
-
-
Constructor Summary
Constructors Constructor Description SendDailyNotificationSummarySchedulable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected NotificationPreferencesHelper.Frequency
getFrequency()
Get the notification frequencyprotected I18nizableText
getI18nSubject()
Get the subject of the mailprotected ZonedDateTime
getTimeFrameLimit()
Get the earliest event's date we want to retrieve-
Methods inherited from class org.ametys.plugins.workspaces.project.notification.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, isPrivate, setPluginInfo
-
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
-
-
-
Constructor Detail
-
SendDailyNotificationSummarySchedulable
public SendDailyNotificationSummarySchedulable()
-
-
Method Detail
-
getI18nSubject
protected I18nizableText getI18nSubject()
Description copied from class:AbstractSendNotificationSummarySchedulable
Get the subject of the mail- Specified by:
getI18nSubject
in classAbstractSendNotificationSummarySchedulable
- Returns:
- the subject of the mail
-
getFrequency
protected NotificationPreferencesHelper.Frequency getFrequency()
Description copied from class:AbstractSendNotificationSummarySchedulable
Get the notification frequency- Specified by:
getFrequency
in classAbstractSendNotificationSummarySchedulable
- Returns:
- the frequency
-
getTimeFrameLimit
protected ZonedDateTime getTimeFrameLimit()
Description copied from class:AbstractSendNotificationSummarySchedulable
Get the earliest event's date we want to retrieve- Specified by:
getTimeFrameLimit
in classAbstractSendNotificationSummarySchedulable
- Returns:
- the date after which we want to retrieve event
-
-