Package | Description |
---|---|
org.xwiki.notifications.preferences |
Modifier and Type | Interface and Description |
---|---|
interface |
TargetableNotificationPreference
A notification preference can (most of the time) be targeted to a certain user, group or wiki.
|
Modifier and Type | Method and Description |
---|---|
List<NotificationPreference> |
NotificationPreferenceManager.getAllPreferences(org.xwiki.model.reference.DocumentReference user)
Get a list of registered
NotificationPreference for the given user. |
List<NotificationPreference> |
NotificationPreferenceManager.getAllPreferences(org.xwiki.model.reference.WikiReference wiki)
Get a list of registered and/or inherited
NotificationPreference for the given wiki. |
List<NotificationPreference> |
NotificationPreferenceManager.getPreferences(org.xwiki.model.reference.DocumentReference user,
boolean isEnabled,
NotificationFormat format)
Get a list of registered
NotificationPreference for the given user. |
List<NotificationPreference> |
NotificationPreferenceProvider.getPreferencesForUser(org.xwiki.model.reference.DocumentReference user)
Get every registered
NotificationPreference for the given user. |
List<NotificationPreference> |
NotificationPreferenceProvider.getPreferencesForWiki(org.xwiki.model.reference.WikiReference wiki)
Get every registered and/or inherited
NotificationPreference for the given wiki. |
Modifier and Type | Method and Description |
---|---|
void |
NotificationPreferenceProvider.savePreferences(List<NotificationPreference> preferences)
Save a given list of preferences.
|
void |
NotificationPreferenceManager.savePreferences(List<NotificationPreference> preferences)
Save the given
NotificationPreference . |
Copyright © 2004–2021 XWiki. All rights reserved.