org.richfaces.fragment.messages

## Interface Messages<T extends Message & ListItem>

- All Superinterfaces:
    AdvancedInteractions<Messages.AdvancedMessagesInteractions>, ListComponent<T>
  All Known Subinterfaces:
    Notify<T>
  All Known Implementing Classes:
    RichFacesMessages, RichFacesNotify

      public interface Messages<T extends Message & ListItem>
      extends ListComponent<T>, AdvancedInteractions<Messages.AdvancedMessagesInteractions>

  Author:
    Jiri Stefek

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Interface and Description
    --- | ---
    `static interface` | `Messages.AdvancedMessagesInteractions`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `List<? extends Message>` | `getItems(Message.MessageType type)` Gets multiple messages which have given `type`.``

    - ### Methods inherited from interface org.richfaces.fragment.list.ListComponent

      `getItem, getItem, getItem, getItems, getItems, getRootElement, isEmpty, size`

    - ### Methods inherited from interface org.richfaces.fragment.common.AdvancedInteractions

      `advanced`

- - ### Method Detail

    - #### getItems

          List<? extends Message> getItems(Message.MessageType type)

      Gets multiple messages which have given `type`.``
      Parameters:
        `type` - the message type (its severity) to determine which messages to return
      Returns:
        all messages with given type

Copyright © 2015 JBoss by Red Hat. All Rights Reserved.