Interface NotificationStore
public interface NotificationStore
Outbound persistence port for recorded notification intents.
-
Method Summary
Modifier and TypeMethodDescriptionLists recent notification records.voidsave(NotificationDraft draft) Persists a ready notification intent.
-
Method Details
-
save
Persists a ready notification intent.- Parameters:
draft- validated notification draft
-
findRecent
List<NotificationSummary> findRecent()Lists recent notification records.- Returns:
- recent notifications in reverse creation order
-