public interface AlertServiceLocal extends AlertService
| Modifier and Type | Method and Description |
|---|---|
java.lang.Integer |
countSystemAlerts(java.util.Date since)
Counts system alerts generated since the given time.
|
java.lang.Integer |
countUserAlerts(java.util.Date since)
Count every user alert generated since the given time.
|
SystemAlert |
create(Network network,
SystemAlertType type,
java.lang.Object... arguments)
Creates a new system alert in the given network
|
SystemAlert |
create(SystemAlertType type,
java.lang.Object... arguments)
Creates a new system alert in the current network
|
UserAlert |
create(User user,
UserAlertType type,
java.lang.Object... arguments)
Creates a new user alert
|
getSystemSearchData, remove, removeAll, searchSystem, searchUserjava.lang.Integer countSystemAlerts(java.util.Date since)
time is null, all events are counted.
Only non-removed (active) alerts are considered.java.lang.Integer countUserAlerts(java.util.Date since)
time is null, all events are counted.
Only non-removed (active) alerts are considered.SystemAlert create(Network network, SystemAlertType type, java.lang.Object... arguments)
SystemAlert create(SystemAlertType type, java.lang.Object... arguments)
UserAlert create(User user, UserAlertType type, java.lang.Object... arguments)