|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AlertManager
Manages Alerts (using the AlertStorage SSO. The behavior of the service switches during
an Ajax request to directly add JavaScript to present the alerts.
| Method Summary | |
|---|---|
void |
alert(Duration duration,
Severity severity,
String message)
Adds an alert with configurable severity and duration. |
void |
error(String message)
Adds an Severity.ERROR alert with the default duration, Duration.SINGLE. |
void |
info(String message)
Adds an Severity.INFO alert with the default duration, Duration.SINGLE. |
void |
success(String message)
Adds an Severity.SUCCESS alert with the default duration, Duration.SINGLE. |
void |
warn(String message)
Adds an Severity.WARN alert with the default duration, Duration.SINGLE. |
| Method Detail |
|---|
void success(String message)
Severity.SUCCESS alert with the default duration, Duration.SINGLE.
message - to present to the uservoid info(String message)
Severity.INFO alert with the default duration, Duration.SINGLE.
message - to present to the uservoid warn(String message)
Severity.WARN alert with the default duration, Duration.SINGLE.
message - to present to the uservoid error(String message)
Severity.ERROR alert with the default duration, Duration.SINGLE.
message - to present to the user
void alert(Duration duration,
Severity severity,
String message)
duration - controls how long the alert is presented to the userseverity - controls how the alert is presented to the usermessage - to present to the user
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||