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.NotificationChannel> |
getNotificationChannels() |
Map<String,pl.edu.icm.unity.types.basic.NotificationChannel> |
getNotificationChannelsForFacilities(Set<String> 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.EngineExceptionvoid addNotificationChannel(pl.edu.icm.unity.types.basic.NotificationChannel toAdd)
throws pl.edu.icm.unity.exceptions.EngineException
toAdd - pl.edu.icm.unity.exceptions.EngineExceptionvoid removeNotificationChannel(String channelName) throws pl.edu.icm.unity.exceptions.EngineException
channelName - pl.edu.icm.unity.exceptions.EngineExceptionvoid updateNotificationChannel(String channelName, String newConfiguration) throws pl.edu.icm.unity.exceptions.EngineException
channelName - newConfiguration - pl.edu.icm.unity.exceptions.EngineExceptionMap<String,pl.edu.icm.unity.types.basic.NotificationChannel> getNotificationChannels() throws pl.edu.icm.unity.exceptions.EngineException
pl.edu.icm.unity.exceptions.EngineExceptionMap<String,pl.edu.icm.unity.types.basic.NotificationChannel> getNotificationChannelsForFacilities(Set<String> facilites) throws pl.edu.icm.unity.exceptions.EngineException
pl.edu.icm.unity.exceptions.EngineExceptionCopyright © 2018 Unity. All rights reserved.