/** * Filtering expression to use when retrieving notifications. * Note that this filtering expression will not be bound to any notification preference. * @param user the user interested in the notifications * @param filterPreferences the collection of all preferences to take into account * @param type of the expected notification filter * @param format format of the notification * @param preferences list of preferences * @return a filtering expression or null * * @since 10.8RC1 * @since 9.11.8 */ default ExpressionNode filterExpression(DocumentReference user, Collection<NotificationFilterPreference> filterPreferences, NotificationFilterType type, NotificationFormat format, Collection<NotificationPreference> preferences) { return filterExpression(user, filterPreferences, type, format); }