public class NotificationServiceImpl extends PersistedServiceImpl implements NotificationService
mongoConnection| Constructor and Description |
|---|
NotificationServiceImpl(NodeId nodeId,
MongoConnection mongoConnection,
AuditEventSender auditEventSender) |
| Modifier and Type | Method and Description |
|---|---|
List<Notification> |
all() |
Notification |
build() |
Notification |
buildNow() |
int |
destroyAllByType(Notification.Type type) |
boolean |
fixed(Notification.Type type) |
boolean |
fixed(Notification.Type type,
Node node) |
boolean |
fixed(Notification notification) |
boolean |
isFirst(Notification.Type type) |
boolean |
publishIfFirst(Notification notification) |
collection, collection, count, count, cursorToList, destroy, destroy, destroyAll, destroyAll, destroyAll, embed, findOne, findOne, findOne, findOne, get, get, get, query, query, query, query, query, removeEmbedded, removeEmbedded, save, saveWithoutValidation, totalCount, totalCount, validate, validate, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdestroy, destroyAll, save, saveWithoutValidation, validate, validate, validate@Inject public NotificationServiceImpl(NodeId nodeId, MongoConnection mongoConnection, AuditEventSender auditEventSender)
public Notification build()
build in interface NotificationServicepublic Notification buildNow()
buildNow in interface NotificationServicepublic boolean fixed(Notification.Type type)
fixed in interface NotificationServicepublic boolean fixed(Notification.Type type, Node node)
fixed in interface NotificationServicepublic boolean isFirst(Notification.Type type)
isFirst in interface NotificationServicepublic List<Notification> all()
all in interface NotificationServicepublic boolean publishIfFirst(Notification notification)
publishIfFirst in interface NotificationServicepublic boolean fixed(Notification notification)
fixed in interface NotificationServicepublic int destroyAllByType(Notification.Type type)
destroyAllByType in interface NotificationServiceCopyright © 2012–2021 Graylog, Inc.. All rights reserved.