Persists the managed club's inbox (table InboxMessages) and the inbox screen's filters (table InboxView).
More...
#include <inbox_repository.h>
Persists the managed club's inbox (table InboxMessages) and the inbox screen's filters (table InboxView).
◆ InboxRepository()
◆ loadAll()
| std::vector< InboxMessage > InboxRepository::loadAll |
( |
| ) |
const |
Loads every message ordered by id.
◆ loadView()
| InboxView InboxRepository::loadView |
( |
| ) |
const |
Saved filters of the inbox screen (defaults when none were stored).
◆ replaceAll()
| void InboxRepository::replaceAll |
( |
const std::vector< InboxMessage > & |
messages | ) |
const |
Replaces the stored messages (the inbox is capped, so this is cheap).
◆ saveView()
| void InboxRepository::saveView |
( |
const InboxView & |
view | ) |
const |
Stores the filters of the inbox screen (table InboxView).
◆ db_conn
The documentation for this class was generated from the following files: