Uses of Record Class
com.reallifedeveloper.common.application.notification.Notification
Packages that use Notification
Package
Description
Code to notify other systems about domain events that have occurred in this system and that have
been saved in an
EventStore
.Support classes for working with message queues.
REST-ful resources and representations for working with
Notifications
.-
Uses of Notification in com.reallifedeveloper.common.application.notification
Methods in com.reallifedeveloper.common.application.notification that return NotificationModifier and TypeMethodDescriptionstatic Notification
Notification.create
(DomainEvent event, Long storedEventId) A factory method that sets theeventType
to the name of the event class andoccurredOn
to the date and time when the event occurred.NotificationFactory.fromStoredEvent
(StoredEvent storedEvent) Creates a newNotification
for the givenStoredEvent
.Methods in com.reallifedeveloper.common.application.notification that return types with arguments of type NotificationModifier and TypeMethodDescriptionNotificationFactory.fromStoredEvents
(List<StoredEvent> storedEvents) Creates newNotifications
for the givenStoredEvents
.NotificationLog.notifications()
Returns the value of thenotifications
record component.Method parameters in com.reallifedeveloper.common.application.notification with type arguments of type NotificationModifier and TypeMethodDescriptionvoid
NotificationPublisher.publish
(List<Notification> notifications, String publicationChannel) Publishes a number of notifications to the given publication channel.Constructor parameters in com.reallifedeveloper.common.application.notification with type arguments of type NotificationModifierConstructorDescriptionNotificationLog
(NotificationLogId current, @Nullable NotificationLogId nullableNext, @Nullable NotificationLogId nullablePrevious, List<Notification> notifications, boolean isArchived) Creates a newNotificationLog
. -
Uses of Notification in com.reallifedeveloper.common.infrastructure.messaging
Method parameters in com.reallifedeveloper.common.infrastructure.messaging with type arguments of type NotificationModifier and TypeMethodDescriptionvoid
KafkaNotificationPublisher.publish
(List<Notification> notifications, String publicationChannel) void
RabbitMQNotificationPublisher.publish
(List<Notification> notifications, String publicationChannel) -
Uses of Notification in com.reallifedeveloper.common.resource.notification
Constructors in com.reallifedeveloper.common.resource.notification with parameters of type NotificationModifierConstructorDescriptionNotificationRepresentation
(Notification notification, ObjectSerializer<String> objectSerializer) Creates a newNotificationRepresentation
representing the givenNotification
, and using the givenObjectSerializer
to serialize the domain event.