|
Spring Web Flow | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MessageContext
A context for recording and retrieving messages for display.
Method Summary | |
---|---|
void |
addMessage(MessageResolver messageResolver)
Add a new message to this context. |
void |
clearMessages()
Clear all messages added to this context. |
Message[] |
getAllMessages()
Get all messages in this context. |
Message[] |
getMessagesByCriteria(MessageCriteria criteria)
Get all messages that meet the given result criteria. |
Message[] |
getMessagesBySource(java.lang.Object source)
Get all messages in this context for the source provided. |
boolean |
hasErrorMessages()
Returns true if there are error messages in this context. |
Method Detail |
---|
Message[] getAllMessages()
Message[] getMessagesBySource(java.lang.Object source)
source
- the source associated with messages, or null for global messages
Message[] getMessagesByCriteria(MessageCriteria criteria)
criteria
- the message criteriaboolean hasErrorMessages()
void addMessage(MessageResolver messageResolver)
messageResolver
- the resolver that will resolve the message to be addedvoid clearMessages()
|
Spring Web Flow | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |