|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MessageManager
Manages messages to display in pages
| Method Summary | |
|---|---|
void |
addMessage(Message message)
Add a global message |
void |
addMessage(String spaceKey,
String username,
Message message)
Add a message specific to a space and/or user |
List |
getMessages()
Gets all global messages |
List |
getMessages(String spaceKey,
String user)
Get all messages for a given space and/or user, including global messages |
void |
removeMessage(String spaceKey,
String id)
Removes a message |
| Method Detail |
|---|
void addMessage(Message message)
message - The message
void addMessage(String spaceKey,
String username,
Message message)
spaceKey - The space keyusername - The user namemessage - The message
List getMessages(String spaceKey,
String user)
spaceKey - The space keyuser - The user name
List getMessages()
void removeMessage(String spaceKey,
String id)
id - The message idspaceKey - The space key
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||