Uses of Class
com.broadleafcommerce.dataimport.processor.ImportProcessingContext
Package
Description
-
Uses of ImportProcessingContext in com.broadleafcommerce.dataimport.processor
Modifier and TypeMethodDescriptionvoid
ImportProcessor.process
(ImportProcessingContext<? extends FileReaderContext> context) Performs the operations required to transform the givenfile
into persisting into a backing data store. -
Uses of ImportProcessingContext in com.broadleafcommerce.dataimport.processor.csv
Modifier and TypeMethodDescriptionprotected com.broadleafcommerce.common.dataimport.messaging.BatchRecord
DefaultImportProcessor.createBatchRecord
(ImportProcessingContext<? extends FileReaderContext> context, Map<String, String> rowMap, long lineNumber) Parses the givenrecord
into aBatchRecord
.DefaultImportProcessor.getNextRowMap
(ImportProcessingContext<? extends FileReaderContext> context) void
DefaultImportProcessor.process
(ImportProcessingContext<? extends FileReaderContext> context) protected boolean
DefaultImportProcessor.replaceCorrelationIdsAndCollectErrors
(com.broadleafcommerce.common.dataimport.messaging.BatchRecord record, ImportProcessingContext<? extends FileReaderContext> context, List<BatchItemCompletion> errors, String topLevelParentCorrelationId) Resolves and replaces any correlation id references found in therows
of the givenBatchRecord
and its dependents with the corresponding resource IDs. -
Uses of ImportProcessingContext in com.broadleafcommerce.dataimport.service
Modifier and TypeMethodDescriptionprotected ImportProcessingContext<FileReaderContext>
DefaultImportManager.createProcessingContext
(Import metadata, ImportSpecification importSpecification, FileReader<FileReaderContext> reader, long dataLinesToSkip)