public interface ImportPersister
FileImportProcessor
Modifier and Type | Method and Description |
---|---|
List<org.broadleafcommerce.openadmin.server.service.persistence.PersistenceResponse> |
persistRecords(List<RecordParseResult> records,
ImportContext context,
Long processId)
Transactionally persists a batch of records into the database
If you are invoking this you need to handle validation problems that could occur within each
PersistenceResponse
result. |
List<org.broadleafcommerce.openadmin.server.service.persistence.PersistenceResponse> persistRecords(List<RecordParseResult> records, ImportContext context, Long processId) throws org.broadleafcommerce.common.exception.ServiceException
PersistenceResponse
result.records
- the batch of records to transactionally persist into the databaseorg.broadleafcommerce.common.exception.ServiceException
- if there were any problems as a result of persisting the recordsCopyright © 2020. All rights reserved.