Class SendMonthlyNotificationSummarySchedulable
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.SendMonthlyNotificationSummarySchedulable
- All Implemented Interfaces:
Schedulable,LogEnabled,PluginAware,Component,Configurable,Contextualizable,Serviceable
public class SendMonthlyNotificationSummarySchedulable
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, _projectManagerFields 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, _userLanguagesManager, _userManager, PROGRESSION_TRACKER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected NotificationPreferencesHelper.FrequencyGet the notification frequencyprotected I18nizableTextGet the subject of the mailprotected ZonedDateTimeGet the earliest activity's date we want to retrieveMethods inherited from class org.ametys.plugins.workspaces.project.notification.schedule.AbstractSendNotificationSummarySchedulable
execute, serviceMethods inherited from class org.ametys.plugins.core.impl.schedule.AbstractStaticSchedulable
acceptConcurrentExecution, configure, contextualize, getDescription, getIconGlyph, getIconLarge, getIconMedium, getIconSmall, getId, getLabel, getParameters, getProgressionTracker, isPrivate, setPluginInfoMethods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Constructor Details
-
SendMonthlyNotificationSummarySchedulable
-
-
Method Details
-
getI18nSubject
Description copied from class:AbstractSendNotificationSummarySchedulableGet the subject of the mail- Specified by:
getI18nSubjectin classAbstractSendNotificationSummarySchedulable- Returns:
- the subject of the mail
-
getFrequency
Description copied from class:AbstractSendNotificationSummarySchedulableGet the notification frequency- Specified by:
getFrequencyin classAbstractSendNotificationSummarySchedulable- Returns:
- the frequency
-
getTimeFrameLimit
Description copied from class:AbstractSendNotificationSummarySchedulableGet the earliest activity's date we want to retrieve- Specified by:
getTimeFrameLimitin classAbstractSendNotificationSummarySchedulable- Returns:
- the date after which we want to retrieve activity
-