EntityInterface
Magento\ImportExport\Model\Import\EntityInterface
What it does
This interface defines the contract for Magento 2 import entities that handle importing data from external sources (CSV, XML, etc.) into the system.
Developers implement this interface when creating custom importers for new entity types (products, customers, etc.) or extending existing import functionality.
It provides methods for validation, error handling, data processing, and tracking import statistics.
Public Methods
- getErrorAggregator()
- getEntityTypeCode()
- addRowError()
- addMessageTemplate()
- getProcessedEntitiesCount()
- getProcessedRowsCount()
- getSource()
- importData()
- isAttributeParticular()
- isImportAllowed()
- isRowAllowedToImport()
- isNeedToLogInHistory()
- validateRow()
- setParameters()
- setSource()
- validateData()
- getCreatedItemsCount()
- getUpdatedItemsCount()
- getDeletedItemsCount()
- getValidColumnNames()
- getIds()
- setIds()
- getDataSourceModel()