Package com.broadleafcommerce.dataimport.service
@NonNullApi
package com.broadleafcommerce.dataimport.service
-
ClassDescriptionProvides a shared mechanism to return a non-existing
Resource
in the event that this component can't resolve a resource since one can programmatically determine if a Resource exists.Modifies the batch and import with the received completionBatchItemCompletionService<P extends BatchItemCompletion>Service API forBatchItemCompletion
.BatchService<P extends Batch>Returns an example import file resource matchingCompleteProductImportSpecification
.Retrieves or generates the new import error report in "csv" format.Wrapper ofCsvWriter
that implementsAutoCloseable
for use in try-with-resources statements.DefaultBatchService<P extends Batch>Looks up resources from classpath:default-examples/$type.$specification.DefaultImportService<P extends Import>Default service to fetchImportSpecification
andGlobalImportSpecification
instances.Default instance ofIndexNotificationService
This service is used to generate and retrieve the import errors.Maintains the list ofExampleImportResolvers
to pick the first one that it finds.Resolves an example file for a given type and file typeManages the lifecycle of an importImportService<P extends Import>Service to fetchImportSpecification
instances.ImportValidationContext<R extends FileReaderContext>Execution data when validating an import before processing it.Contains detailed information about any validation errors that were found with an import request and file.Responsible for performing validations of an import request before it is allowed to be processed/persisted.As batches of import completions are consumed, notify the indexer service via message of a batch ofIndexable
instances to index.Describes a static validation error for a line in an import file.Looks up resources from classpath:default-examples/$type.$specification.Looks up files from classpath:examples/$type.$fileType