Package org.graylog.events.notifications
Class DBNotificationService
java.lang.Object
org.graylog.events.notifications.DBNotificationService
-
Constructor Summary
ConstructorsConstructorDescriptionDBNotificationService(MongoCollections mongoCollections, EntityOwnershipService entityOwnerShipService) -
Method Summary
Modifier and TypeMethodDescriptionintsave(NotificationDto notificationDto) saveWithOwnership(NotificationDto notificationDto, User user) searchPaginated(SearchQuery query, Predicate<NotificationDto> filter, org.bson.conversions.Bson sort, int page, int perPage)
-
Constructor Details
-
DBNotificationService
@Inject public DBNotificationService(MongoCollections mongoCollections, EntityOwnershipService entityOwnerShipService)
-
-
Method Details
-
searchPaginated
public PaginatedList<NotificationDto> searchPaginated(SearchQuery query, Predicate<NotificationDto> filter, org.bson.conversions.Bson sort, int page, int perPage) -
saveWithOwnership
-
save
-
delete
-
get
-
streamAll
-