|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.web.notification.NotificationModel
public class NotificationModel
| Constructor Summary | |
|---|---|
NotificationModel()
|
|
| Method Summary | |
|---|---|
void |
acknowledged(String name,
int noticeId)
This method updates the table when the user acknowledges the pager information. |
Notification[] |
allNotifications()
|
Notification[] |
allNotifications(String order)
Return all notifications, both outstanding and acknowledged. |
Notification |
getNoticeInfo(int id)
|
int |
getOutstandingNoticeCount()
This method returns notices not yet acknowledged. |
int |
getOutstandingNoticeCount(String username)
This method returns notices not yet acknowledged. |
Notification[] |
getOutstandingNotices()
This method returns the count of all outstanding notices. |
Notification[] |
getOutstandingNotices(String name)
This method returns notices not yet acknowledged. |
void |
insert(Notification nbean)
This method helps insert into the database. |
protected Notification[] |
rs2NotifyBean(Connection conn,
ResultSet rs)
Returns the data from the result set as an array of Notification objects. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NotificationModel()
| Method Detail |
|---|
public Notification getNoticeInfo(int id)
throws SQLException
SQLException
public Notification[] allNotifications()
throws SQLException
SQLException
public Notification[] allNotifications(String order)
throws SQLException
SQLException
protected Notification[] rs2NotifyBean(Connection conn,
ResultSet rs)
throws SQLException
SQLException
public Notification[] getOutstandingNotices()
throws SQLException
SQLException
public int getOutstandingNoticeCount()
throws SQLException
SQLException
public int getOutstandingNoticeCount(String username)
throws SQLException
SQLException
public Notification[] getOutstandingNotices(String name)
throws SQLException
SQLException
public void acknowledged(String name,
int noticeId)
throws SQLException
SQLException
public void insert(Notification nbean)
throws SQLException
SQLException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||