|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NoticeManager
Interface for the manager of messages displayed to the user. Three types of notices are supported: information, warning, and error.
| Method Summary | |
|---|---|
int |
postErrorTemporary(java.lang.String digest,
java.lang.String fullBody)
Posts an error notice which automatically expires if it is not revoked or if the user does not discard it sooner. |
int |
postErrorUntilRevoked(java.lang.String digest,
java.lang.String fullBody)
Posts an error notice which does not automatically expire. |
int |
postInfoTemporary(java.lang.String digest,
java.lang.String fullBody)
Posts an information notice which automatically expires if it is not revoked or if the user does not discard it sooner. |
int |
postInfoUntilRevoked(java.lang.String digest,
java.lang.String fullBody)
Posts an information notice which does not automatically expire. |
int |
postWarningTemporary(java.lang.String digest,
java.lang.String fullBody)
Posts a warning notice which automatically expires if it is not revoked or if the user does not discard it sooner. |
int |
postWarningUntilRevoked(java.lang.String digest,
java.lang.String fullBody)
Posts a warning notice which does not automatically expire. |
void |
revoke(int id)
Revokes a notice. |
| Method Detail |
|---|
int postInfoTemporary(java.lang.String digest,
java.lang.String fullBody)
digest - a short summary of the noticefullBody - the complete text of the notice
revoke(int),
postInfoUntilRevoked(String, String)
int postInfoUntilRevoked(java.lang.String digest,
java.lang.String fullBody)
digest - a short summary of the noticefullBody - the complete text of the notice
revoke(int),
postInfoTemporary(String, String)
int postWarningTemporary(java.lang.String digest,
java.lang.String fullBody)
digest - a short summary of the noticefullBody - the complete text of the notice
revoke(int),
postWarningUntilRevoked(String, String)
int postWarningUntilRevoked(java.lang.String digest,
java.lang.String fullBody)
digest - a short summary of the noticefullBody - the complete text of the notice
revoke(int),
postInfoTemporary(String, String)
int postErrorTemporary(java.lang.String digest,
java.lang.String fullBody)
digest - a short summary of the noticefullBody - the complete text of the notice
revoke(int),
postErrorUntilRevoked(String, String)
int postErrorUntilRevoked(java.lang.String digest,
java.lang.String fullBody)
digest - a short summary of the noticefullBody - the complete text of the notice
revoke(int),
postInfoTemporary(String, String)void revoke(int id)
id - the ID of the notice to be revoked
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||