public class NotificationParameters extends Object
ParametrizedNotificationManager
.Modifier and Type | Field and Description |
---|---|
Collection<String> |
blackList
List of event IDs not to return.
|
Date |
endDate
Don't get notifications that have been triggered after the following date.
|
boolean |
endDateIncluded
True if the end date should be included.
|
int |
expectedCount
The maximum number of notifications to return.
|
Collection<NotificationFilterPreference> |
filterPreferences
List of filter preferences to apply.
|
Collection<NotificationFilter> |
filters
List of filters to apply.
|
org.xwiki.notifications.NotificationFormat |
format
The format of the notifications to get.
|
Date |
fromDate
Don't get notification that have been triggered before the following date.
|
Boolean |
onlyUnread
Display only unread notifications.
|
Collection<NotificationPreference> |
preferences
List of preferences to apply.
|
org.xwiki.model.reference.DocumentReference |
user
The user for who we should get the notifications.
|
Constructor and Description |
---|
NotificationParameters() |
public org.xwiki.model.reference.DocumentReference user
public org.xwiki.notifications.NotificationFormat format
public int expectedCount
public Date endDate
public boolean endDateIncluded
public Date fromDate
public Boolean onlyUnread
public Collection<String> blackList
public Collection<NotificationPreference> preferences
public Collection<NotificationFilterPreference> filterPreferences
public Collection<NotificationFilter> filters
Copyright © 2004–2021 XWiki. All rights reserved.