/** * Get a displayable form of the given {@link NotificationFilterPreference}. * * @param filter the filter bound to the given preference * @param preference the filter preference to display * @return a {@link Block} that can be used to display the given notification filter * @throws NotificationException if an error occurs * * @since 9.8RC1 */ public Block displayFilterPreference(NotificationFilter filter, NotificationFilterPreference preference) throws NotificationException { return notificationFilterManager.displayFilter(filter, preference); }