Package io.jmix.notifications.channel
Interface NotificationChannelProvider
- All Known Implementing Classes:
- NotificationChannelProviderImpl
public interface NotificationChannelProvider
Service that allows to get information about notification channels available in application
- 
Method SummaryModifier and TypeMethodDescriptionProvides names of all notification channels.Provides all notification channelsgetChannelByNameOpt(String channelName) Tries to get notification channel by provided name.
- 
Method Details- 
getAllChannelNamesProvides names of all notification channels.- Returns:
- list of channel names
 
- 
getAllChannelsList<NotificationChannel> getAllChannels()Provides all notification channels- Returns:
- list of channel objects
 
- 
getChannelByNameOptTries to get notification channel by provided name.- Parameters:
- channelName- channel name
- Returns:
- Optional with found notification channel or empty Optional if channel with provided name not found
 
 
-