|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ow2.jasmine.monitoring.eventswitch.beans.impl.JasmineEventNotificationSLBImpl
public class JasmineEventNotificationSLBImpl
Implementation of the JasmineEventNotification stateless bean.
| Constructor Summary | |
|---|---|
JasmineEventNotificationSLBImpl()
|
|
| Method Summary | |
|---|---|
java.util.List<org.ow2.jasmine.event.beans.JasmineEventNotification> |
getAllNotifications()
Gets all the notification events from the DataBase. |
org.ow2.jasmine.event.beans.JasmineEventNotification |
getEventNotification(java.lang.String id)
Looks for the given bean in the data base. |
java.util.List<org.ow2.jasmine.event.beans.JasmineEventNotification> |
getEventNotifications(java.util.Date dateFrom,
java.util.Date dateTo)
Gets the event notification between two dates. |
java.util.List<org.ow2.jasmine.event.beans.JasmineEventNotification> |
getEventNotifications(int keepDisplayed,
java.lang.String acknowledgeButtonName,
java.lang.String... rules)
Implementation of inherited method: Gets the event notifications for a given rule, a "synchronized" flag and a keepDisplayed value. |
org.ow2.jasmine.event.beans.JasmineEventNotification[] |
getEventNotifications(java.lang.String id,
java.util.Date date,
java.lang.String level,
java.lang.String message,
java.lang.Boolean status,
java.lang.String rule,
java.lang.String orderBy,
java.lang.Integer limit)
Implementation of inherited method: looks for the beans searched for, converts the search into an array of JasmineEventNotificationEB objects and returns. |
void |
saveEvent(org.ow2.jasmine.event.beans.JasmineEventNotification n)
Implementation of inherited method: creates the JasmineEventNotification entity bean corresponding to given datum and saves an event on the database. |
void |
saveExecutedAction(java.lang.String id,
org.ow2.jasmine.event.beans.JasmineEventNotificationExecutedAction action)
Saves the action executed by a user in the DataBase. |
void |
updateNotificationStatus(java.lang.String id,
boolean status)
Updates the status of the notification : acknowledge or not. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JasmineEventNotificationSLBImpl()
| Method Detail |
|---|
public void saveExecutedAction(java.lang.String id,
org.ow2.jasmine.event.beans.JasmineEventNotificationExecutedAction action)
saveExecutedAction in interface org.ow2.jasmine.monitoring.eventswitch.beans.JasmineEventNotificationSLBRemoteid - the Id of the notification to update.action - the action to save.JasmineEventNotificationSLBRemote.saveExecutedAction(String,
JasmineEventNotificationExecutedAction)
public void updateNotificationStatus(java.lang.String id,
boolean status)
updateNotificationStatus in interface org.ow2.jasmine.monitoring.eventswitch.beans.JasmineEventNotificationSLBRemoteid - the id of the notification to update.status - the new status to save.public void saveEvent(org.ow2.jasmine.event.beans.JasmineEventNotification n)
saveEvent in interface org.ow2.jasmine.monitoring.eventswitch.beans.JasmineEventNotificationSLBRemoten - Notification to save.JasmineEventNotificationSLBRemote#saveEvent(JasmineEventNotificationEB)
public java.util.List<org.ow2.jasmine.event.beans.JasmineEventNotification> getEventNotifications(int keepDisplayed,
java.lang.String acknowledgeButtonName,
java.lang.String... rules)
getEventNotifications in interface org.ow2.jasmine.monitoring.eventswitch.beans.JasmineEventNotificationSLBRemotekeepDisplayed - the keepDisplayed option, expressed in hours:
acknowledgeButtonName - the name of the ACKNOWLEDGE button. if
null, "synchronized" is considered to be false; otherwise it is
considered to be true.rules - rule names. might contain an * character at the end,
meaning "rule starts with".
JasmineEventNotification
public java.util.List<org.ow2.jasmine.event.beans.JasmineEventNotification> getEventNotifications(java.util.Date dateFrom,
java.util.Date dateTo)
getEventNotifications in interface org.ow2.jasmine.monitoring.eventswitch.beans.JasmineEventNotificationSLBRemotedateFrom - the date fromdateTo - the date to
JasmineEventNotification
public org.ow2.jasmine.event.beans.JasmineEventNotification[] getEventNotifications(java.lang.String id,
java.util.Date date,
java.lang.String level,
java.lang.String message,
java.lang.Boolean status,
java.lang.String rule,
java.lang.String orderBy,
java.lang.Integer limit)
getEventNotifications in interface org.ow2.jasmine.monitoring.eventswitch.beans.JasmineEventNotificationSLBRemoteid - Notification id, ignored if null.date - Notification date, ignored if null.level - Notification level, ignored if null.message - Associated message, ignored if null.status - Notification status, ignored if null.rule - The rule id that caused the notification, ignored if null.orderBy - Order using column, ignored if null..limit - Maximal number of results to get, ignored if null.
public java.util.List<org.ow2.jasmine.event.beans.JasmineEventNotification> getAllNotifications()
getAllNotifications in interface org.ow2.jasmine.monitoring.eventswitch.beans.JasmineEventNotificationSLBRemoteJasmineEventNotification
stored in the DataBase.public org.ow2.jasmine.event.beans.JasmineEventNotification getEventNotification(java.lang.String id)
JasmineEventNotification.
getEventNotification in interface org.ow2.jasmine.monitoring.eventswitch.beans.JasmineEventNotificationSLBRemoteid - Id of the notification to retrieve.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||