Package | Description |
---|---|
org.xwiki.notifications.filters | |
org.xwiki.notifications.filters.script |
Modifier and Type | Method and Description |
---|---|
Stream<NotificationFilterPreference> |
NotificationFilterPreferenceManager.getFilterPreferences(Collection<NotificationFilterPreference> filterPreferences,
NotificationFilter filter)
Get from the given filter preferences the ones that match the given filter.
|
Stream<NotificationFilterPreference> |
NotificationFilterPreferenceManager.getFilterPreferences(Collection<NotificationFilterPreference> filterPreferences,
NotificationFilter filter,
NotificationFilterType filterType)
Get from the given filter preferences the ones that match the given filter and the given filter type.
|
Stream<NotificationFilterPreference> |
NotificationFilterPreferenceManager.getFilterPreferences(Collection<NotificationFilterPreference> filterPreferences,
NotificationFilter filter,
NotificationFilterType filterType,
NotificationFormat format)
Get from the given filter preferences the ones that match the given filter, filter type and format.
|
Collection<NotificationFilterPreference> |
NotificationFilterPreferenceManager.getFilterPreferences(DocumentReference user)
Get the notification filter preferences of the given user.
|
Set<NotificationFilterPreference> |
NotificationFilterPreferenceProvider.getFilterPreferences(DocumentReference user)
Get every registered
NotificationFilterPreference for the given user. |
default Collection<NotificationFilterPreference> |
NotificationFilterPreferenceManager.getFilterPreferences(WikiReference wikiReference)
Get the notification filter preferences of the given wiki.
|
default Set<NotificationFilterPreference> |
NotificationFilterPreferenceProvider.getFilterPreferences(WikiReference wikiReference)
Get every registered
NotificationFilterPreference for the given user. |
Modifier and Type | Method and Description |
---|---|
org.xwiki.rendering.block.Block |
NotificationFilterDisplayer.display(NotificationFilter filter,
NotificationFilterPreference preference)
Using the given
NotificationFilter and an associated NotificationFilterPreference , display
the filter. |
org.xwiki.rendering.block.Block |
NotificationFilterManager.displayFilter(NotificationFilter filter,
NotificationFilterPreference preference)
Render a
NotificationFilter using an associated NotificationFilterPreference . |
Modifier and Type | Method and Description |
---|---|
NotificationFilter.FilterPolicy |
NotificationFilter.filterEvent(org.xwiki.eventstream.Event event,
DocumentReference user,
Collection<NotificationFilterPreference> filterPreferences,
NotificationFormat format)
Enable or disable an event in the notification list (post-filter).
|
ExpressionNode |
NotificationFilter.filterExpression(DocumentReference user,
Collection<NotificationFilterPreference> filterPreferences,
NotificationFilterType type,
NotificationFormat format)
Filtering expression to use when retrieving notifications.
|
default ExpressionNode |
NotificationFilter.filterExpression(DocumentReference user,
Collection<NotificationFilterPreference> filterPreferences,
NotificationFilterType type,
NotificationFormat format,
Collection<NotificationPreference> preferences)
Filtering expression to use when retrieving notifications.
|
ExpressionNode |
NotificationFilter.filterExpression(DocumentReference user,
Collection<NotificationFilterPreference> filterPreferences,
NotificationPreference preference)
Filtering expression to use when retrieving notifications.
|
Stream<NotificationFilterPreference> |
NotificationFilterPreferenceManager.getFilterPreferences(Collection<NotificationFilterPreference> filterPreferences,
NotificationFilter filter)
Get from the given filter preferences the ones that match the given filter.
|
Stream<NotificationFilterPreference> |
NotificationFilterPreferenceManager.getFilterPreferences(Collection<NotificationFilterPreference> filterPreferences,
NotificationFilter filter,
NotificationFilterType filterType)
Get from the given filter preferences the ones that match the given filter and the given filter type.
|
Stream<NotificationFilterPreference> |
NotificationFilterPreferenceManager.getFilterPreferences(Collection<NotificationFilterPreference> filterPreferences,
NotificationFilter filter,
NotificationFilterType filterType,
NotificationFormat format)
Get from the given filter preferences the ones that match the given filter, filter type and format.
|
void |
NotificationFilterPreferenceManager.saveFilterPreferences(DocumentReference user,
Set<NotificationFilterPreference> notificationFilterPreferences)
Save the given set of
NotificationFilterPreference against their respective
NotificationFilterPreferenceProvider . |
void |
NotificationFilterPreferenceProvider.saveFilterPreferences(DocumentReference user,
Set<NotificationFilterPreference> filterPreferences)
Save a given set of filter preferences.
|
Modifier and Type | Method and Description |
---|---|
Set<NotificationFilterPreference> |
NotificationFiltersScriptService.getFilterPreferences(NotificationFilter filter)
Get a collection of notification filters preferences that are available for the current user and that corresponds
to the given filter.
|
Set<NotificationFilterPreference> |
NotificationFiltersScriptService.getFilterPreferences(NotificationFilter filter,
org.xwiki.user.UserReference userReference)
Get a collection of notification filters preferences that are available for the given user and that corresponds
to the given filter.
|
Set<NotificationFilterPreference> |
NotificationFiltersScriptService.getWikiFilterPreferences(NotificationFilter filter,
WikiReference wikiReference)
Get a collection of notification filters preferences that are available for the given wiki and that corresponds
to the given filter.
|
Modifier and Type | Method and Description |
---|---|
org.xwiki.rendering.block.Block |
NotificationFiltersScriptService.displayFilterPreference(NotificationFilter filter,
NotificationFilterPreference preference)
Get a displayable form of the given
NotificationFilterPreference . |
Copyright © 2004–2022 XWiki. All rights reserved.