Class NotificationService


  • public class NotificationService
    extends Object
    • Method Detail

      • instance

        public static NotificationService instance()
        get unique instance of the service
        Returns:
        the notification service
      • newNotification

        public javax.ws.rs.core.Response newNotification​(String strJson)
        process Notification
        Parameters:
        notification -
      • newNotificationEvent

        public javax.ws.rs.core.Response newNotificationEvent​(String strJson)
        store a notification event
        Parameters:
        strJson -
        Returns:
        the response
      • forward

        public void forward​(fr.paris.lutece.plugins.grubusiness.business.notification.Notification notification)
                     throws fr.paris.lutece.plugins.grubusiness.service.notification.NotificationException
        call the registred notifyers
        Parameters:
        notification -
        Throws:
        fr.paris.lutece.plugins.grubusiness.service.notification.NotificationException