Interface FlashMessagesHolder

All Known Implementing Classes:
FlashMessagesHolderDefault

public interface FlashMessagesHolder
Currently used to save the Flash Messages between the time a page sets one, and the time the next page displays it.
  • Method Details

    • saveFlashMessage

      String saveFlashMessage(FlashMessage flashMessage)
      Saves a Flash Message.
      Returns:
      a generated and unique ID for the Flash Message.
    • getFlashMessage

      FlashMessage getFlashMessage(String id, boolean removeIt)
      Gets a Flash Message from its id.
      Parameters:
      removeIt - if true, the Flash Message is removed from the holder.