Interface INotificationCreator

All Known Implementing Classes:
AbstractNotificationCreator

public interface INotificationCreator
The notification creators are reused, therefore they should be stateless, It's guaranteed, that they will be called only from one thread, so they don't have to be thread-safe.
Author:
dobisekm
  • Method Details

    • createCreationAnnounces

      @NotNull Notification[] createCreationAnnounces(@NotNull ChangeInfo change)
    • createModificationAnnounces

      @NotNull Notification[] createModificationAnnounces(@NotNull ChangeInfo change)
    • createDeletionAnnounces

      @NotNull Notification[] createDeletionAnnounces(@NotNull ChangeInfo change)
    • filterGroupedNotifications

      void filterGroupedNotifications(@NotNull Collection<INotificationCreator.IChangeNotification> changeNotifications)
      Called at the end of processing a transaction with all created notifications (from all creators, not only this one, and every notification is there separately for each receiver). The creator is allowed to drop some notifications from the collection, so that they are not sent.
      Parameters:
      changeNotifications -
      Since:
      3.6.0