Uses of Class
com.reallifedeveloper.common.application.eventstore.StoredEvent
Packages that use StoredEvent
Package
Description
An implementation of an event store, i.e., a way to persist domain events.
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 creating JPA repositories.
-
Uses of StoredEvent in com.reallifedeveloper.common.application.eventstore
Methods in com.reallifedeveloper.common.application.eventstore with type parameters of type StoredEventModifier and TypeMethodDescription<S extends StoredEvent>
SStoredEventRepository.save
(S storedEvent) Saves aStoredEvent
.Methods in com.reallifedeveloper.common.application.eventstore that return StoredEventModifier and TypeMethodDescriptionEventStore.add
(DomainEvent event) Adds a newStoredEvent
representing the givenDomainEvent
to the event store.Methods in com.reallifedeveloper.common.application.eventstore that return types with arguments of type StoredEventModifier and TypeMethodDescriptionEventStore.allEventsBetween
(long firstStoredEventId, long lastStoredEventId) Gives allStoredEvents
with IDs greater than or equal tofirstStoredEventId
and less than or equals tolastStoredEventId
, i.e., all events that occurred between the events with the given IDs, inclusive.StoredEventRepository.allEventsBetween
(long firstStoredEventId, long lastStoredEventId) Gives allStoredEvents
with IDs greater than or equal tofirstStoredEventId
and less than or equal tolastStoredEventId
, i.e., all events that occurred between the events with the given IDs, inclusive.EventStore.allEventsSince
(long storedEventId) Gives allStoredEvents
with IDs greater thanstoredEventId
, i.e., all events that occurred after the event with the given ID.StoredEventRepository.allEventsSince
(long storedEventId) Gives allStoredEvents
with IDs greater thanstoredEventId
, i.e., all events that occurred after the event with the given ID.Methods in com.reallifedeveloper.common.application.eventstore with parameters of type StoredEventModifier and TypeMethodDescription<T extends DomainEvent>
TEventStore.toDomainEvent
(StoredEvent storedEvent) Converts aStoredEvent
back to its originalDomainEvent
. -
Uses of StoredEvent in com.reallifedeveloper.common.application.notification
Methods in com.reallifedeveloper.common.application.notification with parameters of type StoredEventModifier and TypeMethodDescriptionNotificationFactory.fromStoredEvent
(StoredEvent storedEvent) Creates a newNotification
for the givenStoredEvent
.Method parameters in com.reallifedeveloper.common.application.notification with type arguments of type StoredEventModifier and TypeMethodDescriptionNotificationFactory.fromStoredEvents
(List<StoredEvent> storedEvents) Creates newNotifications
for the givenStoredEvents
. -
Uses of StoredEvent in com.reallifedeveloper.common.infrastructure.persistence
Methods in com.reallifedeveloper.common.infrastructure.persistence that return types with arguments of type StoredEventModifier and TypeMethodDescriptionJpaStoredEventRepository.allEventsBetween
(long firstStoredEventId, long lastStoredEventId) JpaStoredEventRepository.allEventsSince
(long firstStoredEventId)