@Role
public interface NotificationFilterDisplayer
Modifier and Type | Method and Description |
---|---|
org.xwiki.rendering.block.Block |
display(NotificationFilter filter,
NotificationFilterPreference preference)
Using the given
NotificationFilter and an associated NotificationFilterPreference , display
the filter. |
Set<String> |
getSupportedFilters() |
org.xwiki.rendering.block.Block display(NotificationFilter filter, NotificationFilterPreference preference) throws NotificationException
NotificationFilter
and an associated NotificationFilterPreference
, display
the filter.filter
- the filter that should be displayedpreference
- the preferences that should be used for rendering the blockNotificationException
- if error occursSet<String> getSupportedFilters()
NotificationFilter
names that are supported by the displayer.Copyright © 2004–2022 XWiki. All rights reserved.