Model
History
Magento\ImportExport\Model\History
What it does
This class manages the history records of import operations in Magento 2.
Developers use it to create, update, and track import jobs, including storing information about imported files, error files, execution status, and summary statistics.
It's primarily used by the Import/Export functionality to maintain an audit trail of all import operations performed by admin users.
Public Methods
- addReport()
- addErrorReportFile()
- updateReport()
- invalidateReport()
- getId()
- getStartedAt()
- getUserId()
- getImportedFile()
- getErrorFile()
- getExecutionTime()
- getSummary()
- setId()
- setStartedAt()
- setUserId()
- setImportedFile()
- setErrorFile()
- setExecutionTime()
- setSummary()
- loadLastInsertItem()