public class NotificationService extends Object
| Constructor and Description |
|---|
NotificationService()
Simple Constructor
|
NotificationService(INotificationTransportProvider transportProvider)
Constructor with INotificationTransportProvider in parameters
|
| Modifier and Type | Method and Description |
|---|---|
fr.paris.lutece.plugins.grubusiness.business.notification.NotifyGruResponse |
send(fr.paris.lutece.plugins.grubusiness.business.notification.Notification notification)
Send a Notification GRU can throw AppException in case of problem with the JSON request
|
void |
setTransportProvider(INotificationTransportProvider transportProvider)
setter of transportProvider parameter
|
public NotificationService()
public NotificationService(INotificationTransportProvider transportProvider)
transportProvider - INotificationTransportProviderpublic void setTransportProvider(INotificationTransportProvider transportProvider)
transportProvider - INotificationTransportProviderpublic fr.paris.lutece.plugins.grubusiness.business.notification.NotifyGruResponse send(fr.paris.lutece.plugins.grubusiness.business.notification.Notification notification)
notification - the notificationCopyright © 2024 City of Paris. All rights reserved.