Uses of Interface
com.broadleafcommerce.dataimport.processor.specification.ImportSpecification
Package
Description
-
Uses of ImportSpecification in com.broadleafcommerce.dataimport.processor
Modifier and TypeMethodDescriptionImportProcessingContext.getImportSpecification()
The current resolved specification being executedModifierConstructorDescriptionImportProcessingContext
(String importId, Set<String> restrictedHeaders, ImportSpecification importSpecification, FileReader<R> fileReader, InputStream fileStream, long startingLine) -
Uses of ImportSpecification in com.broadleafcommerce.dataimport.processor.csv
Modifier 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
Modifier 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).Modifier 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
Modifier 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
Modifier 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
Modifier and TypeMethodDescriptionprotected ImportSpecification
TranslationDynamicHeaderFieldMapping.getParentSpecification()
Typically, the specification will be one instantiating and holding references to theDynamicHeaderFieldMapping
it needs.ModifierConstructorDescriptionFieldNamesToHeaderNamesInitializer
(ImportSpecification parentSpecification) TranslationDynamicHeaderFieldMapping
(ImportSpecification parentSpecification) -
Uses of ImportSpecification in com.broadleafcommerce.dataimport.service
Modifier 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 executedModifier 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) ModifierConstructorDescriptionImportValidationContext
(ImportRequest request, ImportSpecification importSpecification, FileReader<R> fileReader, org.springframework.core.io.InputStreamSource inputStreamSource) ModifierConstructorDescriptionDefaultImportSpecificationService
(List<ImportSpecification> importSpecifications) -
Uses of ImportSpecification in com.broadleafcommerce.dataimport.service.autoconfigure
Modifier and TypeMethodDescriptionImportServiceAutoConfiguration.importSpecificationService
(List<ImportSpecification> importSpecifications)
CompleteProductImportSpecification