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 voidImportOrphanCheckListener.setHanging(Import anImport, Instant threshold, String errorMessage) Method parameters in com.broadleafcommerce.dataimport.messaging with type arguments of type ImportModifier and TypeMethodDescriptionvoidBatchRequestMessageFactory.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 TypeMethodDescriptionvoidBatchManager.allBatchesCompleted(Import metadata) Once all of the batches have been read and processedvoidDefaultBatchManager.allBatchesCompleted(Import metadata) booleanImportProcessor.canProcess(Import metadata) Whether or not this processor can handle the given import.voidBatchManager.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.voidDefaultBatchManager.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 ImportDefaultImportProcessor.markCompleted(String importId) Methods in com.broadleafcommerce.dataimport.processor.csv with parameters of type ImportModifier and TypeMethodDescriptionbooleanDefaultImportProcessor.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 TypeClassDescriptionclassDefaultImportService<P extends Import>interfaceImportService<P extends Import>Methods in com.broadleafcommerce.dataimport.service that return ImportModifier and TypeMethodDescriptionprotected ImportDefaultBatchCompletionService.adjustImportCounts(Batch batch) protected ImportDefaultImportManager.createSandbox(String importId, String importingSandboxId) protected ImportDefaultImportManager.generateImportFromRequest(ImportRequest request) Builds anImportand 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 ImportDefaultImportManager.markErrored(String importId, String errorMessage) protected ImportDefaultImportManager.markProcessing(String importId) protected ImportDefaultImportManager.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.ContextInfoDefaultImportManager.buildImportingContextInfo(Import metadata, com.broadleafcommerce.data.tracking.core.type.OperationType operationType) com.broadleafcommerce.data.tracking.core.context.ContextInfoImportManager.buildImportingContextInfo(Import metadata, com.broadleafcommerce.data.tracking.core.type.OperationType operationType) Convenience method to construct the 'importing'ContextInfobased on theImportmetadata.protected ImportProcessingContext<FileReaderContext>DefaultImportManager.createProcessingContext(Import metadata, ImportSpecification importSpecification, FileReader<FileReaderContext> reader, long dataLinesToSkip) protected StringDefaultIndexNotificationService.determineBatchIndexableType(Import importEntity) Determines the batch indexable type to use for this import (if any).protected booleanDefaultImportManager.doesRequireSandboxCreation(Import metadata) protected ImportProcessorDefaultImportManager.findProcessor(Import metadata) protected voidDefaultImportManager.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 voidDefaultImportManager.initializeImportingCatalogId(Import target, ImportRequest request, ImportSpecification spec, com.broadleafcommerce.data.tracking.core.context.ContextInfo requestingContextInfo) InitializesgetImportingCatalogId().protected voidDefaultImportManager.initializeImportingSandboxFields(Import target, ImportRequest request, ImportSpecification spec, com.broadleafcommerce.data.tracking.core.context.ContextInfo requestingContextInfo) Initializes sandbox-related fields on the importing context.protected voidDefaultImportManager.initializeParentEntityId(ImportRequest request, Import newImport) InitializesgetParentEntityId()fromImportRequest.getParentEntityId().protected voidDefaultImportManager.initializeSandboxNameToCreate(Import newImport, ImportRequest request) Sets theimportingSandboxNameToCreateto the requested value if provided, else sets it to the name of the import.booleanCSVErrorsReportService.isEligibleForErrorsDownload(Import metadata) booleanErrorsReportService.isEligibleForErrorsDownload(Import metadata) A simple method that examines the givenmetadataobject to determine whether an errors report can be created for it.protected voidDefaultIndexNotificationService.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 voidDefaultImportManager.validateCanPerformImport(Import metadata, ImportSpecification spec, com.broadleafcommerce.data.tracking.core.context.ContextInfo requestingContextInfo) protected voidDefaultImportManager.validateImportingContextAccessibility(Import metadata, ImportSpecification spec, com.broadleafcommerce.data.tracking.core.context.ContextInfo requestingContextInfo) Builds aContextInfomatching the importing context fields frommetadata, and then evaluates whether the currently authenticated user is allowed to perform the operation in that context.protected voidDefaultImportManager.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 StringImportEndpoint.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)