Package org.bgerp.event.client

# Class NewsInfoEvent

java.lang.Object
org.bgerp.event.base.ClientEvent
org.bgerp.event.client.NewsInfoEvent

public class NewsInfoEvent extends ClientEvent
Unread messages and news state.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `NewsInfoEvent(int newsCount, int messageCount, List<Integer> popupNews, boolean blinkNews, boolean blinkMessages)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Map<String,String>`
  `getMessage()`
  `int`
  `getMessagesCount()`
  `int`
  `getNewsCount()`
  `List<Integer>`
  `getPopupNews()`
  `boolean`
  `isBlinkMessages()`
  `boolean`
  `isBlinkNews()`
  `boolean`
  `isVersionLink()`
  `boolean`
  `isVersionUpdateNeeded()`
  `void`
  `message(Localizer l, String key)`
  `void`
  `version(boolean versionLink)`

  ### Methods inherited from class org.bgerp.event.base.ClientEvent

  `getClassName`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### NewsInfoEvent

    public NewsInfoEvent(int newsCount, int messageCount, List<Integer> popupNews, boolean blinkNews, boolean blinkMessages)

- ## Method Details

  - ### getNewsCount

    public int getNewsCount()

  - ### getMessagesCount

    public int getMessagesCount()

  - ### getPopupNews

    public List<Integer> getPopupNews()

  - ### isBlinkNews

    public boolean isBlinkNews()

  - ### isBlinkMessages

    public boolean isBlinkMessages()

  - ### version

    public void version(boolean versionLink)

  - ### isVersionUpdateNeeded

    public boolean isVersionUpdateNeeded()

  - ### isVersionLink

    public boolean isVersionLink()

  - ### message

    public void message(Localizer l, String key)

  - ### getMessage

    public Map<String,String> getMessage()
    Returns:
      map with localized messages.