|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public void addMessage(Message message)
message
- The messagepublic void addMessage(String spaceKey, String username, Message message)
spaceKey
- The space keyusername
- The user namemessage
- The messagepublic List getMessages(String spaceKey, String user)
spaceKey
- The space keyuser
- The user name
public List getMessages()
public void removeMessage(String spaceKey, String id)
id
- The message idspaceKey
- The space key
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |