Class AbstractComponentInstanceManualUserNotification
- java.lang.Object
-
- org.silverpeas.core.notification.user.AbstractComponentInstanceManualUserNotification
-
- All Implemented Interfaces:
ComponentInstanceManualUserNotification
- Direct Known Subclasses:
AbstractCalendarInstanceManualUserNotification
,UserNotificationInstanceManualUserNotification
public abstract class AbstractComponentInstanceManualUserNotification extends Object implements ComponentInstanceManualUserNotification
- Author:
- silveryocha
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.silverpeas.core.notification.user.ComponentInstanceManualUserNotification
ComponentInstanceManualUserNotification.Constants
-
-
Constructor Summary
Constructors Constructor Description AbstractComponentInstanceManualUserNotification()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected boolean
check(NotificationContext context)
protected abstract UserNotification
createUserNotification(NotificationContext context)
Creates the user notification after some verifications have been performed.UserNotification
initializesWith(NotificationContext context)
Initializes aUserNotification
object with the specified notification context.
-
-
-
Method Detail
-
check
protected boolean check(NotificationContext context)
-
initializesWith
public final UserNotification initializesWith(NotificationContext context)
Description copied from interface:ComponentInstanceManualUserNotification
Initializes aUserNotification
object with the specified notification context.- Specified by:
initializesWith
in interfaceComponentInstanceManualUserNotification
- Parameters:
context
- aMap
of key-values describing the context within which the user notification has to be built.- Returns:
- a
UserNotification
object.
-
createUserNotification
protected abstract UserNotification createUserNotification(NotificationContext context)
Creates the user notification after some verifications have been performed.- Parameters:
context
- aMap
of key-values describing the context within which the user notification has to be built.- Returns:
- a
UserNotification
object.
-
-