30 virtual void addExportLog(
const std::shared_ptr<core::application::exporting::ExportLog>& log) = 0;
36 virtual std::vector<std::shared_ptr<core::application::exporting::ExportLog>>
getExportLogs()
const = 0;
43 virtual std::optional<std::shared_ptr<core::application::exporting::ExportLog>>
getExportLogById(
const std::string&
id)
const = 0;
55 virtual void updateExportLog(
const std::shared_ptr<core::application::exporting::ExportLog>& log) = 0;
61 virtual void upsertExportLog(
const std::shared_ptr<core::application::exporting::ExportLog>& log) = 0;
Stores metadata about one export run for persistence and workflow tracking.
virtual std::vector< std::shared_ptr< core::application::exporting::ExportLog > > getExportLogs() const =0
Retrieve all export logs.
virtual void addExportLog(const std::shared_ptr< core::application::exporting::ExportLog > &log)=0
Add a new export log.
virtual std::optional< std::shared_ptr< core::application::exporting::ExportLog > > getExportLogById(const std::string &id) const =0
Retrieve an export log by identifier.
virtual void clearExportLogs()=0
Remove all export logs.
virtual void upsertExportLog(const std::shared_ptr< core::application::exporting::ExportLog > &log)=0
Insert or update an export log.
virtual void updateExportLog(const std::shared_ptr< core::application::exporting::ExportLog > &log)=0
Update an existing export log.
virtual void removeExportLog(const std::string &id)=0
Remove an export log by identifier.
virtual ~IExportLogRepository()=default
Destroy the export log repository interface.