Class QuickInfoDelayedVisibilityUserNotificationReminder
java.lang.Object
org.silverpeas.components.quickinfo.notification.QuickInfoDelayedVisibilityUserNotificationReminder
- All Implemented Interfaces:
org.silverpeas.core.reminder.BackgroundReminderProcess
@Bean
@Named("quickinfoDelayedVisibilityUserNotificationReminderProcess")
@Singleton
public class QuickInfoDelayedVisibilityUserNotificationReminder
extends Object
implements org.silverpeas.core.reminder.BackgroundReminderProcess
Implementation in charge of handling data about
News entities provided
by quickinfo component instances.- Author:
- silveryocha
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.silverpeas.core.reminder.BackgroundReminderProcess
org.silverpeas.core.reminder.BackgroundReminderProcess.Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.silverpeas.core.reminder.ReminderProcessName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget()org.silverpeas.core.reminder.ReminderProcessNamegetName()voidperformWith(org.silverpeas.core.reminder.Reminder reminder) Sends the user notification about a specified reminder.booleanInitialize the reminder for the given news if possible.
-
Field Details
-
QUICKINFO_DELAYED_VISIBILITY_USER_NOTIFICATION
public static final org.silverpeas.core.reminder.ReminderProcessName QUICKINFO_DELAYED_VISIBILITY_USER_NOTIFICATION
-
-
Constructor Details
-
QuickInfoDelayedVisibilityUserNotificationReminder
public QuickInfoDelayedVisibilityUserNotificationReminder()
-
-
Method Details
-
get
-
getName
public org.silverpeas.core.reminder.ReminderProcessName getName()- Specified by:
getNamein interfaceorg.silverpeas.core.reminder.BackgroundReminderProcess
-
performWith
public void performWith(org.silverpeas.core.reminder.Reminder reminder) Sends the user notification about a specified reminder.- Specified by:
performWithin interfaceorg.silverpeas.core.reminder.BackgroundReminderProcess- Parameters:
reminder- a reminder.
-
setAbout
Initialize the reminder for the given news if possible.- Parameters:
news- the news for which the reminder is initialized.- Returns:
- true if the reminder has been set successfully, false otherwise.
-