Package | Description |
---|---|
org.opennms.web.notification |
Modifier and Type | Method and Description |
---|---|
Notification[] |
NotificationModel.allNotifications()
Deprecated.
allNotifications
|
Notification[] |
NotificationModel.allNotifications(String order)
Deprecated.
Return all notifications, both outstanding and acknowledged.
|
Notification[] |
WebNotificationRepository.getMatchingNotifications(NotificationCriteria criteria)
getMatchingNotifications
|
Notification[] |
DaoWebNotificationRepository.getMatchingNotifications(NotificationCriteria criteria)
getMatchingNotifications
|
static Notification |
NoticeFactory.getNotice(int noticeId,
javax.servlet.ServletContext servletContext)
Return a specific notice.
|
static Notification[] |
NoticeFactory.getNotices(AcknowledgeType ackType,
javax.servlet.ServletContext servletContext)
Return all unacknowledged or acknowledged notices sorted by id.
|
static Notification[] |
NoticeFactory.getNotices(javax.servlet.ServletContext servletContext)
Return all unacknowledged notices sorted by id.
|
static Notification[] |
NoticeFactory.getNotices(SortStyle sortStyle,
AcknowledgeType ackType,
Filter[] filters,
int limit,
int offset,
javax.servlet.ServletContext servletContext)
Return all notices (optionally only unacknowledged notices) sorted by the
given sort style.
|
static Notification[] |
NoticeFactory.getNotices(SortStyle sortStyle,
AcknowledgeType ackType,
Filter[] filters,
javax.servlet.ServletContext servletContext)
Return all notices (optionally only unacknowledged notices) sorted by the
given sort style.
|
static Notification[] |
NoticeFactory.getNotices(SortStyle sortStyle,
AcknowledgeType ackType,
javax.servlet.ServletContext servletContext)
Return all notices (optionally only unacknowledged notices) sorted by the
given sort style.
|
static Notification[] |
NoticeFactory.getNotices(SortStyle sortStyle,
boolean includeAcknowledged,
javax.servlet.ServletContext servletContext)
Deprecated.
Replaced by
" #getNotices(SortStyle,AcknowledgeType) getNotices( SortStyle, AcknowledgeType )"
|
static Notification[] |
NoticeFactory.getNotices(SortStyle sortStyle,
javax.servlet.ServletContext servletContext)
Return all unacknowledged notices sorted by the given sort style.
|
static Notification[] |
NoticeFactory.getNoticesForInterface(int nodeId,
String ipAddress,
boolean includeAcknowledged,
javax.servlet.ServletContext servletContext)
Return all notices (optionally only unacknowledged notices) sorted by id
for the given interface.
|
static Notification[] |
NoticeFactory.getNoticesForInterface(int nodeId,
String ipAddress,
javax.servlet.ServletContext servletContext)
Return all unacknowledged notices for the given interface.
|
static Notification[] |
NoticeFactory.getNoticesForInterface(String ipAddress,
boolean includeAcknowledged,
javax.servlet.ServletContext servletContext)
Return all notices (optionally only unacknowledged notices) sorted by id
that have the given IP address, regardless of what node they belong to.
|
static Notification[] |
NoticeFactory.getNoticesForInterface(String ipAddress,
javax.servlet.ServletContext servletContext)
Return all unacknowledged notices sorted by time for that have the given
IP address, regardless of what node they belong to.
|
static Notification[] |
NoticeFactory.getNoticesForNode(int nodeId,
boolean includeAcknowledged,
javax.servlet.ServletContext servletContext)
Deprecated.
Replaced by
" #getNoticesForNode(int,SortStyle,AcknowledgeType) getNoticesForNode( int, SortStyle, AcknowledgeType )"
|
static Notification[] |
NoticeFactory.getNoticesForNode(int nodeId,
javax.servlet.ServletContext servletContext)
Return all unacknowledged notices sorted by time for the given node.
|
static Notification[] |
NoticeFactory.getNoticesForNode(int nodeId,
SortStyle sortStyle,
AcknowledgeType ackType,
javax.servlet.ServletContext servletContext)
Return all notices (optionally only unacknowledged notices) sorted by
given sort style for the given node.
|
static Notification[] |
NoticeFactory.getNoticesForService(int serviceId,
boolean includeAcknowledged,
javax.servlet.ServletContext servletContext)
Return all notices (optionally only unacknowledged notices) sorted by id
for the given service type, regardless of what node or interface they
belong to.
|
static Notification[] |
NoticeFactory.getNoticesForService(int serviceId,
javax.servlet.ServletContext servletContext)
Return all unacknowledged notices sorted by time for the given service
type, regardless of what node or interface they belong to.
|
static Notification[] |
NoticeFactory.getNoticesForService(int nodeId,
String ipAddress,
int serviceId,
boolean includeAcknowledged,
javax.servlet.ServletContext servletContext)
Return all notices (optionally only unacknowledged notices) sorted by
time for the given service.
|
static Notification[] |
NoticeFactory.getNoticesForService(int nodeId,
String ipAddress,
int serviceId,
javax.servlet.ServletContext servletContext)
Return all unacknowledged notices sorted by time for the given service.
|
Notification |
WebNotificationRepository.getNotification(int noticeId)
getNotification
|
Notification |
DaoWebNotificationRepository.getNotification(int noticeId)
getNotification
|
protected static Notification[] |
NoticeFactory.rs2Notices(ResultSet rs,
javax.servlet.ServletContext servletContext)
Convenience method for translating a
java.sql.ResultSet
containing notice information into an array of Notification
objects. |
protected static Notification[] |
NotificationModel.rs2NotifyBean(Connection conn,
ResultSet rs)
Deprecated.
Returns the data from the result set as an array of
Notification objects.
|
Modifier and Type | Method and Description |
---|---|
static void |
NoticeFactory.acknowledge(Notification[] notices,
String user)
Acknowledge a list of notices with the given username
|
static void |
NoticeFactory.acknowledge(Notification[] notices,
String user,
Date time)
Acknowledge a list of notices with the given username and the given time.
|
Copyright © 2017. All rights reserved.