Uses of Interface
com.broadleafcommerce.dataimport.processor.specification.ImportSpecification
Packages that use ImportSpecification
Package
Description
-
Uses of ImportSpecification in com.broadleafcommerce.dataimport.processor
Methods in com.broadleafcommerce.dataimport.processor that return ImportSpecificationModifier and TypeMethodDescriptionImportProcessingContext.getImportSpecification()
The current resolved specification being executedConstructors in com.broadleafcommerce.dataimport.processor with parameters of type ImportSpecificationModifierConstructorDescriptionImportProcessingContext
(String importId, Set<String> restrictedHeaders, ImportSpecification importSpecification, FileReader<R> fileReader, InputStream fileStream, long startingLine) -
Uses of ImportSpecification in com.broadleafcommerce.dataimport.processor.csv
Methods in com.broadleafcommerce.dataimport.processor.csv with parameters of type ImportSpecificationModifier and TypeMethodDescriptionprotected void
DefaultImportProcessor.normalizeRowData
(Map<String, String> row, ImportSpecification spec) DefaultImportProcessor.replaceHeaderNameWithPropertyName
(Map<String, String> row, ImportSpecification spec) protected void
DefaultImportProcessor.replaceNullRowValuesWithSpecDefaults
(Map<String, String> row, ImportSpecification spec) -
Uses of ImportSpecification in com.broadleafcommerce.dataimport.processor.specification
Subinterfaces of ImportSpecification in com.broadleafcommerce.dataimport.processor.specificationModifier and TypeInterfaceDescriptioninterface
This is primarily a marker interface that can be placed on anyImportSpecification
implementation to indicate it should be presented as an option in the Broadleaf Admin's central import maintenance screen (seeImportSpecificationService.findAllGlobalImportSpecifications(ContextInfo)
andImportEndpoint.getSpecifications(ContextInfo)
for more details).Classes in com.broadleafcommerce.dataimport.processor.specification that implement ImportSpecificationModifier and TypeClassDescriptionclass
class
class
class
A Specification that operates solely off of the import typeclass
class
class
Deprecated.class
The default specification for theDefaultImportType.UPDATE_CATALOG_PRICES
import type. -
Uses of ImportSpecification in com.broadleafcommerce.dataimport.processor.specification.inventory
Classes in com.broadleafcommerce.dataimport.processor.specification.inventory that implement ImportSpecificationModifier and TypeClassDescriptionclass
Specification for SKU inventory imports, where the input files are defining inventory to create/update in the data store. -
Uses of ImportSpecification in com.broadleafcommerce.dataimport.processor.specification.product
Classes in com.broadleafcommerce.dataimport.processor.specification.product that implement ImportSpecificationModifier and TypeClassDescriptionclass
Specification for 'complete product' imports, where the input files are typically defining full new products and variants (and related entities) to create in the data store. -
Uses of ImportSpecification in com.broadleafcommerce.dataimport.processor.specification.translation
Methods in com.broadleafcommerce.dataimport.processor.specification.translation that return ImportSpecificationModifier and TypeMethodDescriptionprotected ImportSpecification
TranslationDynamicHeaderFieldMapping.getParentSpecification()
Typically, the specification will be one instantiating and holding references to theDynamicHeaderFieldMapping
it needs.Constructors in com.broadleafcommerce.dataimport.processor.specification.translation with parameters of type ImportSpecificationModifierConstructorDescriptionFieldNamesToHeaderNamesInitializer
(ImportSpecification parentSpecification) TranslationDynamicHeaderFieldMapping
(ImportSpecification parentSpecification) -
Uses of ImportSpecification in com.broadleafcommerce.dataimport.service
Methods in com.broadleafcommerce.dataimport.service that return ImportSpecificationModifier and TypeMethodDescriptionprotected ImportSpecification
DefaultImportSpecificationService.findDefaultImportSpecification
(String importType, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) DefaultImportSpecificationService.findImportSpecification
(String type, String specificationRef, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) By default, this just finds the first specification that can handle the given import type, with no regard forcontextInfo
orspecificationRef
.ImportSpecificationService.findImportSpecification
(String type, String specificationRef, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Finds theImportSpecification
for the type and ref for the specifiedContextInfo
, or the defaultImportSpecification
for the type.ImportValidationContext.getImportSpecification()
The current resolved specification being executedMethods in com.broadleafcommerce.dataimport.service with parameters of type ImportSpecificationModifier and TypeMethodDescriptionprotected ImportProcessingContext<FileReaderContext>
DefaultImportManager.createProcessingContext
(Import metadata, ImportSpecification importSpecification, FileReader<FileReaderContext> reader, long dataLinesToSkip) protected ImportValidationContext<FileReaderContext>
DefaultImportManager.createValidationContext
(ImportRequest request, ImportSpecification importSpecification, FileReader<FileReaderContext> fileReader, org.springframework.core.io.InputStreamSource inputStreamSource) CSVErrorsReportService.getRowWithAdditionalDataAdded
(BatchItemCompletion batchItemCompletion, Map<String, String> propertyNameToHeaderName, ImportSpecification specification) Takes the original row frombatchItemCompletion
and returns a new row with mutations and additional entries as necessary.CSVErrorsReportService.getSpecificationNameMap
(ImportSpecification spec) Deprecated, for removal: This API element is subject to removal in a future version.protected void
DefaultImportManager.initializeImportingCatalogId
(Import target, ImportRequest request, ImportSpecification spec, com.broadleafcommerce.data.tracking.core.context.ContextInfo requestingContextInfo) InitializesImport.getImportingCatalogId()
.protected void
DefaultImportManager.initializeImportingSandboxFields
(Import target, ImportRequest request, ImportSpecification spec, com.broadleafcommerce.data.tracking.core.context.ContextInfo requestingContextInfo) Initializes sandbox-related fields on the importing context.protected ImportValidationResponse
DefaultImportManager.userHasRequiredAuthorities
(ImportSpecification spec) protected void
DefaultImportManager.validateCanPerformImport
(Import metadata, ImportSpecification spec, com.broadleafcommerce.data.tracking.core.context.ContextInfo requestingContextInfo) protected void
DefaultImportManager.validateImportingContextAccessibility
(Import metadata, ImportSpecification spec, com.broadleafcommerce.data.tracking.core.context.ContextInfo requestingContextInfo) Builds aContextInfo
matching the importing context fields frommetadata
, and then evaluates whether the currently authenticated user is allowed to perform the operation in that context.protected void
DefaultImportManager.validateImportingVendorAccessibility
(Import metadata, ImportSpecification spec, com.broadleafcommerce.data.tracking.core.context.ContextInfo requestingContextInfo, com.broadleafcommerce.data.tracking.core.context.ContextInfo importingContextInfo) protected ImportValidationResponse
DefaultImportManager.validateRequest
(ImportRequest request, org.springframework.core.io.InputStreamSource inputStreamSource, ImportSpecification spec) Constructors in com.broadleafcommerce.dataimport.service with parameters of type ImportSpecificationModifierConstructorDescriptionImportValidationContext
(ImportRequest request, ImportSpecification importSpecification, FileReader<R> fileReader, org.springframework.core.io.InputStreamSource inputStreamSource) Constructor parameters in com.broadleafcommerce.dataimport.service with type arguments of type ImportSpecificationModifierConstructorDescriptionDefaultImportSpecificationService
(List<ImportSpecification> importSpecifications) -
Uses of ImportSpecification in com.broadleafcommerce.dataimport.service.autoconfigure
Method parameters in com.broadleafcommerce.dataimport.service.autoconfigure with type arguments of type ImportSpecificationModifier and TypeMethodDescriptionImportServiceAutoConfiguration.importSpecificationService
(List<ImportSpecification> importSpecifications)
CompleteProductImportSpecification