Class InAppNotificationChannel
java.lang.Object
io.jmix.notifications.channel.impl.InAppNotificationChannel
- All Implemented Interfaces:
- NotificationChannel
@Component("ntf_InAppNotificationChannel")
public class InAppNotificationChannel
extends Object
implements NotificationChannel
Default notification channel.
 
Sends notifications within application (to user UI).
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected UnconstrainedDataManagerstatic final Stringprotected UserSessionNotifier
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetName()Provides unique name of channel.protected voidnotifyUserSession(String userName) booleansend(Notification notification) Sends provided notification via this notification channel.protected voidstoreNotification(Notification notification) 
- 
Field Details- 
NAME- See Also:
 
- 
userSessionNotifier
- 
dataManager
 
- 
- 
Constructor Details- 
InAppNotificationChannelpublic InAppNotificationChannel()
 
- 
- 
Method Details- 
getNameDescription copied from interface:NotificationChannelProvides unique name of channel.- Specified by:
- getNamein interface- NotificationChannel
- Returns:
- channel name
 
- 
sendDescription copied from interface:NotificationChannelSends provided notification via this notification channel.- Specified by:
- sendin interface- NotificationChannel
- Parameters:
- notification- notification
- Returns:
- true if notification was successfully sent, false otherwise
 
- 
notifyUserSession
- 
storeNotification
 
-