Uses of Class
com.broadleafcommerce.dataimport.domain.Import
Packages that use Import
Package
Description
-
Uses of Import in com.broadleafcommerce.dataimport.messaging
Methods in com.broadleafcommerce.dataimport.messaging that return types with arguments of type ImportModifier and TypeMethodDescriptionprotected ImportService<Import>
ImportOrphanCheckListener.getImportService()
Methods in com.broadleafcommerce.dataimport.messaging with parameters of type ImportModifier and TypeMethodDescriptionprotected void
ImportOrphanCheckListener.setHanging
(Import anImport, Instant threshold, String errorMessage) Method parameters in com.broadleafcommerce.dataimport.messaging with type arguments of type ImportModifier and TypeMethodDescriptionvoid
BatchRequestMessageFactory.setImportService
(ImportService<Import> importService) Constructor parameters in com.broadleafcommerce.dataimport.messaging with type arguments of type ImportModifierConstructorDescriptionImportOrphanCheckListener
(com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService idempotentConsumptionService, ImportService<Import> importService, com.broadleafcommerce.common.extension.TypeFactory typeFactory) -
Uses of Import in com.broadleafcommerce.dataimport.processor
Methods in com.broadleafcommerce.dataimport.processor with parameters of type ImportModifier and TypeMethodDescriptionvoid
BatchManager.allBatchesCompleted
(Import metadata) Once all of the batches have been read and processedvoid
DefaultBatchManager.allBatchesCompleted
(Import metadata) boolean
ImportProcessor.canProcess
(Import metadata) Whether or not this processor can handle the given import.void
BatchManager.processBatch
(List<com.broadleafcommerce.common.dataimport.messaging.BatchRecord> records, Import metadata) Given a batch of items that have been read from a flat file, this is responsible for the processing after reading.void
DefaultBatchManager.processBatch
(List<com.broadleafcommerce.common.dataimport.messaging.BatchRecord> records, Import metadata) -
Uses of Import in com.broadleafcommerce.dataimport.processor.autoconfigure
Method parameters in com.broadleafcommerce.dataimport.processor.autoconfigure with type arguments of type ImportModifier and TypeMethodDescriptionDataImportProcessorAutoConfiguration.defaultImportProcessor
(BatchManager batchManager, DataImportProcessorProperties properties, ImportService<Import> importService, BatchItemCompletionService<BatchItemCompletion> batchItemCompletionService, com.broadleafcommerce.common.dataimport.util.IdResolver idResolver, com.broadleafcommerce.common.dataimport.util.OperationResolver operationResolver, CorrelationIdMappingCache correlationIdCache) -
Uses of Import in com.broadleafcommerce.dataimport.processor.csv
Methods in com.broadleafcommerce.dataimport.processor.csv that return ImportModifier and TypeMethodDescriptionprotected Import
DefaultImportProcessor.markCompleted
(String importId) Methods in com.broadleafcommerce.dataimport.processor.csv with parameters of type ImportModifier and TypeMethodDescriptionboolean
DefaultImportProcessor.canProcess
(Import importMetadata) Constructor parameters in com.broadleafcommerce.dataimport.processor.csv with type arguments of type ImportModifierConstructorDescriptionDefaultImportProcessor
(int batchSize, BatchManager batchManager, ImportService<Import> importService, BatchItemCompletionService<BatchItemCompletion> batchItemCompletionService) DefaultImportProcessor
(int batchSize, BatchManager batchManager, ImportService<Import> importService, BatchItemCompletionService<BatchItemCompletion> batchItemCompletionService, com.broadleafcommerce.common.dataimport.util.IdResolver idResolver, com.broadleafcommerce.common.dataimport.util.OperationResolver operationResolver, CorrelationIdMappingCache correlationIdCache) DefaultImportProcessor
(BatchManager batchManager, ImportService<Import> importService, BatchItemCompletionService<BatchItemCompletion> batchItemCompletionService) Initializes the processor with a batch size of 100 -
Uses of Import in com.broadleafcommerce.dataimport.service
Classes in com.broadleafcommerce.dataimport.service with type parameters of type ImportModifier and TypeClassDescriptionclass
DefaultImportService<P extends Import>
interface
ImportService<P extends Import>
Methods in com.broadleafcommerce.dataimport.service that return ImportModifier and TypeMethodDescriptionprotected Import
DefaultBatchCompletionService.adjustImportCounts
(Batch batch) protected Import
DefaultImportManager.createSandbox
(String importId, String importingSandboxId) protected Import
DefaultImportManager.generateImportFromRequest
(ImportRequest request) Builds anImport
and initializes its basic fields from the values in theImportRequest
.DefaultImportManager.initiateImport
(ImportRequest request, org.springframework.core.io.InputStreamSource inputStreamSource, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) ImportManager.initiateImport
(ImportRequest request, org.springframework.core.io.InputStreamSource inputStreamSource, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Validates, prepares, and requests an import to be executed from the given request, but does not actually execute the import.protected Import
DefaultImportManager.markErrored
(String importId, String errorMessage) protected Import
DefaultImportManager.markProcessing
(String importId) protected Import
DefaultImportManager.setTotalItems
(String importId, long totalItems) Methods in com.broadleafcommerce.dataimport.service that return types with arguments of type ImportModifier and TypeMethodDescriptionprotected ImportService<Import>
DefaultImportManager.getImportService()
Methods in com.broadleafcommerce.dataimport.service with parameters of type ImportModifier and TypeMethodDescriptioncom.broadleafcommerce.data.tracking.core.context.ContextInfo
DefaultImportManager.buildImportingContextInfo
(Import metadata, com.broadleafcommerce.data.tracking.core.type.OperationType operationType) com.broadleafcommerce.data.tracking.core.context.ContextInfo
ImportManager.buildImportingContextInfo
(Import metadata, com.broadleafcommerce.data.tracking.core.type.OperationType operationType) Convenience method to construct the 'importing'ContextInfo
based on theImport
metadata.protected ImportProcessingContext<FileReaderContext>
DefaultImportManager.createProcessingContext
(Import metadata, ImportSpecification importSpecification, FileReader<FileReaderContext> reader, long dataLinesToSkip) protected String
DefaultIndexNotificationService.determineBatchIndexableType
(Import importEntity) Determines the batch indexable type to use for this import (if any).protected boolean
DefaultImportManager.doesRequireSandboxCreation
(Import metadata) protected ImportProcessor
DefaultImportManager.findProcessor
(Import metadata) protected void
DefaultImportManager.initializeContextFields
(Import target, ImportRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Initializes the context-related fields on the givenImport
, including the fields describing the context where the operation itself was initiated (such asgetApplicationId()
), and "importing context" fields describing the context where the operation will be performed (such asgetImportingApplicationId()
).protected void
DefaultImportManager.initializeImportingCatalogId
(Import target, ImportRequest request, ImportSpecification spec, com.broadleafcommerce.data.tracking.core.context.ContextInfo requestingContextInfo) InitializesgetImportingCatalogId()
.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 void
DefaultImportManager.initializeParentEntityId
(ImportRequest request, Import newImport) InitializesgetParentEntityId()
fromImportRequest.getParentEntityId()
.protected void
DefaultImportManager.initializeSandboxNameToCreate
(Import newImport, ImportRequest request) Sets theimportingSandboxNameToCreate
to the requested value if provided, else sets it to the name of the import.boolean
CSVErrorsReportService.isEligibleForErrorsDownload
(Import metadata) boolean
ErrorsReportService.isEligibleForErrorsDownload
(Import metadata) A simple method that examines the givenmetadata
object to determine whether an errors report can be created for it.protected void
DefaultIndexNotificationService.process
(Import importEntity, com.broadleafcommerce.common.dataimport.messaging.BatchCompletion batchCompletion) DefaultImportManager.resolveParentEntityId
(ImportRequest request, Import newImport) Deprecated, for removal: This API element is subject to removal in a future version.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) Constructor parameters in com.broadleafcommerce.dataimport.service with type arguments of type ImportModifierConstructorDescriptionCSVErrorsReportService
(ImportService<Import> importService, StorageService storage, BatchItemCompletionService<BatchItemCompletion> batchItemCompletionService, ImportManager importManager) DefaultBatchCompletionService
(ImportService<Import> importService, BatchService<Batch> batchService, BatchItemCompletionService<BatchItemCompletion> batchItemCompletionService, IndexNotificationService indexNotificationService) DefaultImportManager
(com.broadleafcommerce.common.extension.TypeFactory typeFactory, StorageService storage, ImportService<Import> importService, List<ImportProcessor> processors, List<ImportValidator> validators, List<FileReader<? extends FileReaderContext>> readers, com.broadleafcommerce.common.extension.data.DataRouteReference reference, List<com.broadleafcommerce.data.tracking.core.web.ContextRequestHydrator> contextRequestHydrators, com.broadleafcommerce.data.tracking.core.policy.trackable.TrackablePolicyUtils trackablePolicyUtils) DefaultIndexNotificationService
(ImportService<Import> importService, BatchItemCompletionService<BatchItemCompletion> batchItemCompletionService, ImportBatchItemCompletionRepository<?> repository, com.broadleafcommerce.common.messaging.notification.NotificationManager notificationManager, com.broadleafcommerce.common.extension.data.DataRouteSupporting route) -
Uses of Import in com.broadleafcommerce.dataimport.service.autoconfigure
Methods in com.broadleafcommerce.dataimport.service.autoconfigure that return types with arguments of type ImportModifier and TypeMethodDescriptionImportServiceAutoConfiguration.importService
(ImportRepository<com.broadleafcommerce.data.tracking.core.Identifiable> repository, com.broadleafcommerce.data.tracking.core.service.RsqlMappableCrudEntityHelper helper, com.broadleafcommerce.common.messaging.notification.NotificationManager notificationManager, BatchService<?> batchService) Method parameters in com.broadleafcommerce.dataimport.service.autoconfigure with type arguments of type ImportModifier and TypeMethodDescriptionImportServiceAutoConfiguration.batchCompletionService
(ImportService<Import> importService, BatchService<Batch> batchService, BatchItemCompletionService<BatchItemCompletion> batchItemCompletionService, IndexNotificationService indexNotificationService) ImportServiceAutoConfiguration.csvErrorsReportService
(ImportService<Import> importService, StorageService storage, BatchItemCompletionService<BatchItemCompletion> batchItemCompletionService, ImportManager importManager) ImportServiceAutoConfiguration.importIndexService
(ImportService<Import> importService, BatchItemCompletionService<BatchItemCompletion> batchItemCompletionService, ImportBatchItemCompletionRepository<?> repository, com.broadleafcommerce.common.messaging.notification.NotificationManager notificationManager, com.broadleafcommerce.common.extension.data.DataRouteSupporting route) ImportServiceAutoConfiguration.importManager
(com.broadleafcommerce.common.extension.TypeFactory typeFactory, StorageService storage, ImportService<Import> importService, List<ImportProcessor> processors, List<ImportValidator> validators, List<FileReader<? extends FileReaderContext>> fileReaders, com.broadleafcommerce.common.extension.data.DataRouteReference dataRouteReference, List<com.broadleafcommerce.data.tracking.core.web.ContextRequestHydrator> contextRequestHydrators, com.broadleafcommerce.data.tracking.core.policy.trackable.TrackablePolicyUtils trackablePolicyUtils) ImportServiceAutoConfiguration.purgeImportJobHandler
(ImportService<Import> importService, BatchItemCompletionService<BatchItemCompletion> batchItemCompletionService, BatchService<Batch> batchService, PurgeImportProperties purgeImportProperties) -
Uses of Import in com.broadleafcommerce.dataimport.service.index
Methods in com.broadleafcommerce.dataimport.service.index with parameters of type ImportModifier and TypeMethodDescriptionCustomerImportBatchIndexableTypeMapping.getBatchIndexableType
(Import importEntity) ImportBatchIndexableTypeMapping.getBatchIndexableType
(Import importEntity) Given an import entity, return the batch indexable type that should be used for it (if applicable).ProductImportBatchIndexableTypeMapping.getBatchIndexableType
(Import importEntity) -
Uses of Import in com.broadleafcommerce.dataimport.service.purge
Constructor parameters in com.broadleafcommerce.dataimport.service.purge with type arguments of type ImportModifierConstructorDescriptionPurgeImportJobHandler
(ImportService<Import> importService, BatchItemCompletionService<BatchItemCompletion> batchItemCompletionService, BatchService<Batch> batchService, PurgeImportProperties purgeImportProperties) -
Uses of Import in com.broadleafcommerce.dataimport.web.endpoint
Methods in com.broadleafcommerce.dataimport.web.endpoint that return ImportModifier and TypeMethodDescriptionImportEndpoint.getImport
(String id, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) ImportEndpoint.start
(ImportRequest request, org.springframework.web.multipart.MultipartFile file, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Methods in com.broadleafcommerce.dataimport.web.endpoint that return types with arguments of type ImportModifier and TypeMethodDescriptionprotected ImportService<Import>
AuthorImportEndpoint.getImportService()
protected ImportService<Import>
ImportEndpoint.getImportService()
org.springframework.data.domain.Page<Import>
ImportEndpoint.readSystemImports
(Boolean isActive, org.springframework.data.domain.Pageable pageable, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Methods in com.broadleafcommerce.dataimport.web.endpoint with parameters of type ImportModifier and TypeMethodDescriptionprotected String
ImportEndpoint.getUserFriendlyFilenameForImport
(Import metadata) Constructor parameters in com.broadleafcommerce.dataimport.web.endpoint with type arguments of type ImportModifierConstructorDescriptionAuthorImportEndpoint
(ImportService<Import> importService) ImportEndpoint
(ImportManager importManager, ImportService<Import> importService, ErrorsReportService errorsReportService, BatchItemCompletionService<BatchItemCompletion> batchItemCompletionService, StorageService storage, ImportSpecificationService importSpecificationService)
DefaultImportManager.initializeParentEntityId(ImportRequest, Import)