public interface NotificationsManagement
Modifier and Type | Method and Description |
---|---|
void |
addNotificationChannel(pl.edu.icm.unity.types.basic.NotificationChannel toAdd)
Creates a new channel for a given facility.
|
Map<String,pl.edu.icm.unity.types.basic.NotificationChannelInfo> |
getNotificationChannels() |
Map<String,pl.edu.icm.unity.types.basic.NotificationChannelInfo> |
getNotificationChannelsForTechnologies(EnumSet<pl.edu.icm.unity.base.notifications.CommunicationTechnology> facilites) |
Set<String> |
getNotificationFacilities() |
void |
removeNotificationChannel(String channelName)
Removes a specified channel.
|
void |
updateNotificationChannel(String channelName,
String newConfiguration)
Changes configuration of an existing notification channel.
|
Set<String> getNotificationFacilities() throws pl.edu.icm.unity.exceptions.EngineException
pl.edu.icm.unity.exceptions.EngineException
void addNotificationChannel(pl.edu.icm.unity.types.basic.NotificationChannel toAdd) throws pl.edu.icm.unity.exceptions.EngineException
toAdd
- pl.edu.icm.unity.exceptions.EngineException
void removeNotificationChannel(String channelName) throws pl.edu.icm.unity.exceptions.EngineException
channelName
- pl.edu.icm.unity.exceptions.EngineException
void updateNotificationChannel(String channelName, String newConfiguration) throws pl.edu.icm.unity.exceptions.EngineException
channelName
- newConfiguration
- pl.edu.icm.unity.exceptions.EngineException
Map<String,pl.edu.icm.unity.types.basic.NotificationChannelInfo> getNotificationChannels() throws pl.edu.icm.unity.exceptions.EngineException
pl.edu.icm.unity.exceptions.EngineException
Map<String,pl.edu.icm.unity.types.basic.NotificationChannelInfo> getNotificationChannelsForTechnologies(EnumSet<pl.edu.icm.unity.base.notifications.CommunicationTechnology> facilites) throws pl.edu.icm.unity.exceptions.EngineException
pl.edu.icm.unity.exceptions.EngineException
Copyright © 2019 Unity. All rights reserved.