Uses of Class
com.broadleafcommerce.common.dataimport.messaging.BatchCompletionRecord
Packages that use BatchCompletionRecord
Package
Description
- 
Uses of BatchCompletionRecord in com.broadleafcommerce.common.dataimport
Methods in com.broadleafcommerce.common.dataimport that return BatchCompletionRecordModifier and TypeMethodDescriptionprotected BatchCompletionRecordAbstractImportBatchHandler.getCompletionError(BatchRecord record, String errorMessage) Methods in com.broadleafcommerce.common.dataimport that return types with arguments of type BatchCompletionRecordModifier and TypeMethodDescriptionprotected <T> List<BatchCompletionRecord>AbstractImportBatchHandler.buildNonValidationErrorCompletions(String entityResourceId, PersistenceRequest<T> persistenceRequest, com.broadleafcommerce.data.tracking.core.service.BulkPersistenceResponse.PersistenceFailure<T> persistenceFailure) protected <T> List<BatchCompletionRecord>AbstractImportBatchHandler.buildSuccessfulCompletionsForRequest(String entityResourceId, PersistenceRequest<T> persistenceRequest) protected <T> List<BatchCompletionRecord>AbstractImportBatchHandler.buildValidationErrorCompletions(String entityResourceId, PersistenceRequest<T> persistenceRequest, com.broadleafcommerce.data.tracking.core.service.BulkPersistenceResponse.PersistenceFailure<T> persistenceFailure) protected <T> List<BatchCompletionRecord>AbstractImportBatchHandler.persist(BatchRequest batch, List<PersistenceRequest<T>> requests, BatchCreator<T> creator, BatchUpdater<T> updater, Function<T, String> idExtractor) Perform a persist of the parsed out domain specified asPersistenceRequestsprotected <T> List<BatchCompletionRecord>AbstractImportBatchHandler.persist(BatchRequest batch, List<PersistenceRequest<T>> requests, BatchCreator<T> creator, BatchUpdater<T> updater, Function<T, String> idExtractor, int batchSize) This is a convenience wrapper aroundAbstractImportBatchHandler.persist(BatchRequest, List, BatchCreator, BatchUpdater, Function)to submit therequestsin chunks/smaller-batches.Method parameters in com.broadleafcommerce.common.dataimport with type arguments of type BatchCompletionRecordModifier and TypeMethodDescriptionprotected <T> voidAbstractImportBatchHandler.addFailedConversionCompletions(BatchRecord failedToConvert, ConversionUtils.ConversionResponse<T> failedConversion, List<BatchCompletionRecord> destination) Creates aBatchCompletionRecordfor the givenfailedToConvertbatch record, and then createsBatchCompletionRecordsfor all of its nested dependents.protected <T> voidAbstractImportBatchHandler.buildAndAddCompletionRecords(com.broadleafcommerce.data.tracking.core.service.BulkPersistenceResponse<T> response, List<BatchCompletionRecord> completionRecords, Map<String, PersistenceRequest<T>> persistenceRequestByResourceId, Function<T, String> idExtractor) protected voidAbstractImportBatchHandler.failRecordAndDependentsEarly(BatchRecord recordToFail, String errorMessage, String dependentErrorMessage, List<BatchCompletionRecord> destination) Intended for use in scenarios where a record and its dependents need to be marked as failed in an early (pre-persistence) stage (no resource tier ID is available), such as failed conversions.protected voidAbstractImportBatchHandler.generateAndAddCompletions(BatchRecord batchRecord, BatchCompletionRecordStatus status, String errorMessage, List<BatchCompletionRecord> destination) protected voidAbstractImportBatchHandler.generateAndAddCompletions(PersistenceRequest.EmbeddedItemRequest embeddedItemRequest, BatchCompletionRecordStatus status, String errorMessage, List<BatchCompletionRecord> destination) protected voidAbstractImportBatchHandler.generateAndAddValidationErrorCompletions(PersistenceRequest.EmbeddedItemRequest embeddedItemRequest, String parentPath, Map<String, org.springframework.validation.FieldError> fieldErrorsByPath, String parentItemCorrelationId, List<BatchCompletionRecord> destination)  - 
Uses of BatchCompletionRecord in com.broadleafcommerce.common.dataimport.messaging
Methods in com.broadleafcommerce.common.dataimport.messaging that return types with arguments of type BatchCompletionRecordModifier and TypeMethodDescriptionprotected List<BatchCompletionRecord>BatchListener.buildErrorCompletionsForUnacknowledgedRecords(@NonNull BatchCompletion completion, @NonNull BatchRequest request) BatchCompletion.getRecords()The records that should be inserted within this batchConstructor parameters in com.broadleafcommerce.common.dataimport.messaging with type arguments of type BatchCompletionRecordModifierConstructorDescriptionBatchCompletion(String batchId, String importId, List<BatchCompletionRecord> records)  - 
Uses of BatchCompletionRecord in com.broadleafcommerce.common.dataimport.util
Methods in com.broadleafcommerce.common.dataimport.util that return BatchCompletionRecordModifier and TypeMethodDescriptionstatic BatchCompletionRecordBatchCompletionRecordUtils.error(BatchRecord original, String errorMessage) Creates a successful completion from the original record.static BatchCompletionRecordBatchCompletionRecordUtils.success(BatchRecord original) Creates a successful completion from the original record.Methods in com.broadleafcommerce.common.dataimport.util that return types with arguments of type BatchCompletionRecordModifier and TypeMethodDescriptionstatic List<BatchCompletionRecord>BatchCompletionRecordUtils.allErrored(List<BatchRecord> from, String errorMessage) Converts all of the given BatchRecords and dependents to errorred completionsstatic List<BatchCompletionRecord>BatchCompletionRecordUtils.allSuccess(List<BatchRecord> from) Converts all of the given BatchRecords and dependents to successful completionsMethod parameters in com.broadleafcommerce.common.dataimport.util with type arguments of type BatchCompletionRecordModifier and TypeMethodDescriptionstatic <T> voidConversionUtils.addFailedConversionCompletions(BatchRecord failedToConvert, ConversionUtils.ConversionResponse<T> failedConversion, List<BatchCompletionRecord> destination) Creates aBatchCompletionRecordfor the givenfailedToConvertbatch record, and then createsBatchCompletionRecordsfor all of its nested dependents.