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 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.