42 const std::shared_ptr<core::application::importing::ImportLog>& log)
49 std::vector<std::shared_ptr<core::application::importing::ImportLog>>
57 std::optional<std::shared_ptr<core::application::importing::ImportLog>>
71 const std::shared_ptr<core::application::importing::ImportLog>& log)
79 const std::shared_ptr<core::application::importing::ImportLog>& log)
89 std::unique_ptr<Impl> pimpl_;
Repository port for core::application::importing::ImportLog persistence operations.
void removeImportLog(const std::string &id) override
Remove an import log entry by identifier.
void addImportLog(const std::shared_ptr< core::application::importing::ImportLog > &log) override
Insert a new import log entry.
std::vector< std::shared_ptr< core::application::importing::ImportLog > > getImportLogs() const override
Retrieve all import log entries.
void upsertImportLog(const std::shared_ptr< core::application::importing::ImportLog > &log) override
Insert or update an import log entry.
void clearImportLogs() override
Remove all import log entries.
SqliteImportLogRepository(const std::string &dbPath)
Create an import log repository for the database at the given path.
~SqliteImportLogRepository() override
Destroy the repository.
void updateImportLog(const std::shared_ptr< core::application::importing::ImportLog > &log) override
Update an existing import log entry.
std::optional< std::shared_ptr< core::application::importing::ImportLog > > getImportLogById(const std::string &id) const override
Retrieve an import log entry by identifier.