Interface MailNotificationStorage


  • public interface MailNotificationStorage
    • Method Detail

      • save

        void save​(NotificationInfo notification)
           throws Exception
        Saves information of a notification.
        Parameters:
        notification - The notification to be saved.
        Throws:
        Exception
      • removeMessageAfterSent

        void removeMessageAfterSent​(NotificationContext context)
                             throws Exception
        Removes all messages after they have been sent.
        Parameters:
        context - The notification context to determine the type of digest.
        Throws:
        Exception
      • deleteAllDigests

        default void deleteAllDigests()
                               throws Exception
        Removes all digest messages. This is used for migration purpose
        Throws:
        Exception