clear(IFeedbackMessageFilter filter) Clears all messsages that are accepted by the filter.
Parameters: filter - Filter for selecting messages.
final public void
debug(Component reporter, String message) Adds a new ui message with level DEBUG to the current messages.
final public void
error(Component reporter, Serializable message) Adds a new ui message with level ERROR to the current messages.
final public void
fatal(Component reporter, String message) Adds a new ui message with level FATAL to the current messages.
final public boolean
hasErrorMessageFor(Component component) Convenience method that looks up whether the given component registered a
message with this list with the level ERROR.
Clears all messsages that are accepted by the filter.
Parameters: filter - Filter for selecting messages. If null, all messages will bereturned The number of messages deleted
Adds a new ui message with level DEBUG to the current messages.
Parameters: reporter - the reporting component Parameters: message - the actual message
Adds a new ui message with level ERROR to the current messages.
Parameters: reporter - the reporting component Parameters: message - the actual message
Adds a new ui message with level FATAL to the current messages.
Parameters: reporter - the reporting component Parameters: message - the actual message
hasErrorMessageFor
final public boolean hasErrorMessageFor(Component component)(Code)
Convenience method that looks up whether the given component registered a
message with this list with the level ERROR.
Parameters: component - the component to look up whether it registered a message whether the given component registered a message with this listwith level ERROR
Parameters: filter - Filter for selecting messages True if one or more messages matches the filter
hasMessageFor
final public boolean hasMessageFor(Component component)(Code)
Looks up whether the given component registered a message with this list.
Parameters: component - the component to look up whether it registered a message whether the given component registered a message with this list
hasMessageFor
final public boolean hasMessageFor(Component component, int level)(Code)
Looks up whether the given component registered a message with this list
with the given level.
Parameters: component - The component to look up whether it registered a message Parameters: level - The level of the message Whether the given component registered a message with this listwith the given level
Looks up a message for the given component.
Parameters: component - the component to look up the message for the message that is found for the given component (first match)or null if none was found
Gets a list of messages from the page using a filter.
Parameters: filter - Filter for selecting messages. If null, all messages will bereturned The messages or an empty list if no messages are found
Gets the number of messages.
Parameters: filter - Filter for counting messages. If null, the count of allmessages will be returned the number of messages
Adds a new ui message with level WARNING to the current messages.
Parameters: reporter - the reporting component Parameters: message - the actual message