|
|||||||||
| 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(java.lang.String... rulePattern)
Gets the event notification matching a certain rule pattern. |
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 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 iddate - Notification datelevel - Notification levelmessage - Associated messagestatus - Notification statusrule - The rule id that caused the notificationorderBy - Order using column.limit - Maximal number of results to get.
JasmineEventNotification[] getEventNotifications(int, Date,
String, String, Boolean, int, String, int);
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
JasmineEventNotificationpublic java.util.List<org.ow2.jasmine.event.beans.JasmineEventNotification> getEventNotifications(java.lang.String... rulePattern)
getEventNotifications in interface org.ow2.jasmine.monitoring.eventswitch.beans.JasmineEventNotificationSLBRemoterulePattern - rule patterns
JasmineEventNotificationpublic 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 | ||||||||