Interface MessageManager
-
- All Known Implementing Classes:
AbstractMessageManager
,BandanaMessageManager
,DefaultMessageManager
,RequestMessageManager
,SessionMessageManager
@Transactional public interface MessageManager
Manages messages to display in pages
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addMessage(Message message)
Add a messageList<Message>
getMessages()
Gets all messagesvoid
removeMessage(String id)
Removes a message
-
-
-
Method Detail
-
addMessage
void addMessage(Message message)
Add a message- Parameters:
message
- The message
-
getMessages
@Transactional(readOnly=true) List<Message> getMessages()
Gets all messages- Returns:
- A list of global Message objects
-
removeMessage
void removeMessage(String id)
Removes a message- Parameters:
id
- The message id
-
-