|
||||||||||
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(java.lang.String spaceKey,
Message message)
Add a space message |
void |
addMessage(java.lang.String spaceKey,
java.lang.String username,
Message message)
Deprecated. since 2.9 |
java.util.List |
getMessages()
Gets all global messages |
java.util.List |
getMessages(java.lang.String spaceKey)
Get all messages for a given space |
java.util.List |
getMessages(java.lang.String spaceKey,
java.lang.String user)
Deprecated. since 2.9 |
void |
removeMessage(java.lang.String spaceKey,
java.lang.String id)
Removes a message |
Method Detail |
---|
void addMessage(Message message)
message
- The messagevoid addMessage(java.lang.String spaceKey, java.lang.String username, Message message)
spaceKey
- The space keyusername
- The user namemessage
- The messageaddMessage(String, Message)
void addMessage(java.lang.String spaceKey, Message message)
message
- The messagejava.util.List getMessages(java.lang.String spaceKey, java.lang.String user)
spaceKey
- The space keyuser
- The user name
addMessage(String, Message)
java.util.List getMessages(java.lang.String spaceKey)
spaceKey
-
java.util.List getMessages()
void removeMessage(java.lang.String spaceKey, java.lang.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 |