Class ChatMessageApplicationEvent

java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
com.finconsgroup.itserr.marketplace.usercommunication.dm.bean.ChatMessageApplicationEvent
All Implemented Interfaces:
Serializable

public class ChatMessageApplicationEvent extends org.springframework.context.ApplicationEvent
Application event for a chat message.
See Also:
  • Constructor Details

    • ChatMessageApplicationEvent

      public ChatMessageApplicationEvent(ChatMessage source, boolean userNotificationFlag)
  • Method Details

    • isUserNotification

      public boolean isUserNotification()
      Indicates if the message is for user notification.
      Returns:
      true, if for user notification, false otherwise.
    • getChatMessage

      public ChatMessage getChatMessage()
      Returns the ChatMessage source
      Returns:
      ChatMessage