Search in sources :

Example 1 with ScopeNotificationFilterPreference

use of org.xwiki.notifications.filters.internal.scope.ScopeNotificationFilterPreference in project xwiki-platform by xwiki.

the class WatchedLocationReference method createExclusiveFilterPreference.

@Override
public NotificationFilterPreference createExclusiveFilterPreference() {
    DefaultNotificationFilterPreference preference = createFilterPreference();
    preference.setFilterType(NotificationFilterType.EXCLUSIVE);
    return new ScopeNotificationFilterPreference(preference, entityReference);
}
Also used : DefaultNotificationFilterPreference(org.xwiki.notifications.filters.internal.DefaultNotificationFilterPreference) ScopeNotificationFilterPreference(org.xwiki.notifications.filters.internal.scope.ScopeNotificationFilterPreference)

Aggregations

DefaultNotificationFilterPreference (org.xwiki.notifications.filters.internal.DefaultNotificationFilterPreference)1 ScopeNotificationFilterPreference (org.xwiki.notifications.filters.internal.scope.ScopeNotificationFilterPreference)1