public interface UserServiceAjaxResponse
| Modifier and Type | Method and Description |
|---|---|
void |
addError(String aMessage)
Adds an error message to the message box.
|
void |
addInfo(String aMessage)
Adds an information message to the message box.
|
void |
addMessage(UserMessage aMessage)
Adds a message to the message box according to its severity.
|
void |
addWarning(String aMessage)
Adds a warning message to the message box.
|
UserServiceWriter |
getWriter()
Returns the writer to use to add HTML or data to the response.
|
UserServiceWriter getWriter()
null.void addMessage(UserMessage aMessage)
aMessage - the message.void addError(String aMessage)
aMessage - the message.addMessage(UserMessage)void addWarning(String aMessage)
aMessage - the message.addMessage(UserMessage)void addInfo(String aMessage)
aMessage - the message.addMessage(UserMessage)