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
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateCreationAnnounces
(ChangeInfo change) createDeletionAnnounces
(ChangeInfo change) void
filterGroupedNotifications
(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).
-
Method Details
-
createCreationAnnounces
-
createModificationAnnounces
-
createDeletionAnnounces
-
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
-