Class NotificationSender

    • Constructor Detail

      • NotificationSender

        protected NotificationSender()
        Default constructor
      • NotificationSender

        public NotificationSender​(String instanceId)
        Constructor for a standard component
        Parameters:
        instanceId - the instance Id of the calling's component
    • Method Detail

      • notifyUser

        public void notifyUser​(int addressId,
                               NotificationMetaData metaData)
                        throws NotificationException
        Sends at the specified address the notification whose definition is given by the specified NotificationMetaData instance.
        Parameters:
        addressId - the unique identifier of an address at which the notification has to be sent.
        metaData - the meta data of the notification. It defines the content of the notification as well as the recipients.
        Throws:
        NotificationException - if an error occurs while sending the notification.