42 const std::shared_ptr<core::application::exporting::ExportLog>& log)
49 std::vector<std::shared_ptr<core::application::exporting::ExportLog>>
57 std::optional<std::shared_ptr<core::application::exporting::ExportLog>>
71 const std::shared_ptr<core::application::exporting::ExportLog>& log)
79 const std::shared_ptr<core::application::exporting::ExportLog>& log)
89 std::unique_ptr<Impl> pimpl_;
Repository port for core::application::exporting::ExportLog persistence operations.
void clearExportLogs() override
Remove all export log entries.
SqliteExportLogRepository(const std::string &dbPath)
Create an export log repository for the database at the given path.
std::vector< std::shared_ptr< core::application::exporting::ExportLog > > getExportLogs() const override
Retrieve all export log entries.
std::optional< std::shared_ptr< core::application::exporting::ExportLog > > getExportLogById(const std::string &id) const override
Retrieve an export log entry by identifier.
void addExportLog(const std::shared_ptr< core::application::exporting::ExportLog > &log) override
Insert a new export log entry.
void upsertExportLog(const std::shared_ptr< core::application::exporting::ExportLog > &log) override
Insert or update an export log entry.
~SqliteExportLogRepository() override
Destroy the repository.
void updateExportLog(const std::shared_ptr< core::application::exporting::ExportLog > &log) override
Update an existing export log entry.
void removeExportLog(const std::string &id) override
Remove an export log entry by identifier.