Class VaadinSessionNotificationEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
io.jmix.notificationsflowui.event.VaadinSessionNotificationEvent
- All Implemented Interfaces:
- Serializable
public class VaadinSessionNotificationEvent
extends org.springframework.context.ApplicationEvent
This event is published when new In-app notification is sent
 or read status of existing In-app notification is changed.
- See Also:
- 
Field SummaryFields inherited from class java.util.EventObjectsource
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedprotectedVaadinSessionNotificationEvent(String username) 
- 
Method SummaryMethods inherited from class org.springframework.context.ApplicationEventgetTimestampMethods inherited from class java.util.EventObjectgetSource, toString
- 
Constructor Details- 
VaadinSessionNotificationEventprotected VaadinSessionNotificationEvent()
- 
VaadinSessionNotificationEvent
 
- 
- 
Method Details- 
createUserEvent- Parameters:
- username- username of recipient
- Returns:
- event that will be sent to provided username
 
- 
createBroadcastEvent- Returns:
- event that will be sent to all active Vaadin sessions
 
- 
getUsername- Returns:
- username of recipient or nullif event should be sent to all active Vaadin sessions
 
- 
isBroadcastpublic boolean isBroadcast()- Returns:
- trueif event should be sent to all active Vaadin sessions
 
 
-