public interface NotificationPreference
getProperties()
can be used to recover a set
of attributes that describe the kind of notification on which this NotificationPreference
should apply.
Note that a NotificationPreference
should be self-sufficient, therefore, it should contain every
information needed about what it does.
A preference is defined for a category of event, since a specific date and in a given format.Modifier and Type | Method and Description |
---|---|
NotificationPreferenceCategory |
getCategory() |
NotificationFormat |
getFormat() |
Map<NotificationPreferenceProperty,Object> |
getProperties() |
String |
getProviderHint()
The provider linked to a
NotificationPreference is helpful as it permits the
NotificationPreferenceManager to know where to save a given preference. |
Date |
getStartDate() |
boolean |
isNotificationEnabled() |
boolean isNotificationEnabled()
NotificationFormat getFormat()
Date getStartDate()
Map<NotificationPreferenceProperty,Object> getProperties()
String getProviderHint()
NotificationPreference
is helpful as it permits the
NotificationPreferenceManager
to know where to save a given preference.NotificationPreferenceCategory getCategory()
NotificationPreference
Copyright © 2004–2021 XWiki. All rights reserved.