|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JasmineEventNotificationSLBRemote
Interface for the JasmineEventNotification stateless bean.
| 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)
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)
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. |
| Method Detail |
|---|
void saveExecutedAction(java.lang.String id,
org.ow2.jasmine.event.beans.JasmineEventNotificationExecutedAction action)
id - the Id of the notification to update.action - the action to save.
void updateNotificationStatus(java.lang.String id,
boolean status)
id - the id of the notification to update.status - the new status to save.void saveEvent(org.ow2.jasmine.event.beans.JasmineEventNotification n)
n - Notification to save.JasmineEventNotificationSLBRemote#saveEvent(JasmineEventNotificationEB)
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)
id - 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(String,
Date, String, String, Boolean, int, String, int);
java.util.List<org.ow2.jasmine.event.beans.JasmineEventNotification> getEventNotifications(java.util.Date dateFrom,
java.util.Date dateTo)
dateFrom - the date fromdateTo - the date to
JasmineEventNotificationjava.util.List<org.ow2.jasmine.event.beans.JasmineEventNotification> getEventNotifications(java.lang.String... rulePattern)
rulePattern - rule patterns
JasmineEventNotificationjava.util.List<org.ow2.jasmine.event.beans.JasmineEventNotification> getAllNotifications()
JasmineEventNotification
stored in the DataBase.org.ow2.jasmine.event.beans.JasmineEventNotification getEventNotification(java.lang.String id)
JasmineEventNotification.
id - Id of the notification to retrieve.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||