Package | Description |
---|---|
org.xwiki.notifications.filters | |
org.xwiki.notifications.filters.script |
Modifier and Type | Method and Description |
---|---|
NotificationFilterType |
NotificationFilterPreference.getFilterType() |
static NotificationFilterType |
NotificationFilterType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NotificationFilterType[] |
NotificationFilterType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
NotificationFiltersScriptService.createScopeFilterPreference(NotificationFilterType type,
Set<NotificationFormat> formats,
List<String> eventTypes,
EntityReference reference)
Create a scope notification filter preference for the current user.
|
void |
NotificationFiltersScriptService.createScopeFilterPreference(NotificationFilterType type,
Set<NotificationFormat> formats,
List<String> eventTypes,
EntityReference reference,
org.xwiki.user.UserReference userReference)
Create a scope notification filter preference for the given user.
|
void |
NotificationFiltersScriptService.createWikiScopeFilterPreference(NotificationFilterType type,
Set<NotificationFormat> formats,
List<String> eventTypes,
EntityReference reference,
WikiReference wikiReference)
Create a scope notification filter preference for the given user.
|
Copyright © 2004–2021 XWiki. All rights reserved.