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:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionChatMessageApplicationEvent(ChatMessage source, boolean userNotificationFlag) -
Method Summary
Modifier and TypeMethodDescriptionReturns theChatMessagesourcebooleanIndicates if the message is for user notification.Methods inherited from class org.springframework.context.ApplicationEvent
getTimestampMethods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
ChatMessageApplicationEvent
-
-
Method Details
-
isUserNotification
public boolean isUserNotification()Indicates if the message is for user notification.- Returns:
true, if for user notification,falseotherwise.
-
getChatMessage
Returns theChatMessagesource- Returns:
- ChatMessage
-