Uses of Class
com.broadleafcommerce.common.dataimport.messaging.BatchRecord
Packages that use BatchRecord
Package
Description
- 
Uses of BatchRecord in com.broadleafcommerce.common.dataimport
Methods in com.broadleafcommerce.common.dataimport with parameters of type BatchRecordModifier 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 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 BatchCompletionRecordAbstractImportBatchHandler.getCompletionError(BatchRecord record, String errorMessage)  - 
Uses of BatchRecord in com.broadleafcommerce.common.dataimport.conversion
Methods in com.broadleafcommerce.common.dataimport.conversion with parameters of type BatchRecordModifier and TypeMethodDescriptionabstract booleanAbstractRowConverter.canConvert(BatchRecord record, BatchRequest.BatchContext context) Indicates if this converter can parse the provided record into an entity.abstract PAbstractRowConverter.convert(Object parent, BatchRecord record, BatchRequest.BatchContext context) Converts the provided record into the required result(s). - 
Uses of BatchRecord in com.broadleafcommerce.common.dataimport.messaging
Methods in com.broadleafcommerce.common.dataimport.messaging that return BatchRecordModifier and TypeMethodDescriptionBatchRecord.addDependent(BatchRecord dependent) Adds a new dependent to this recordMethods in com.broadleafcommerce.common.dataimport.messaging that return types with arguments of type BatchRecordModifier and TypeMethodDescriptionBatchRecord.getDependents()Items that should be conceptually linked to the parent record that represents this itemBatchRequest.getRecords()The records that should be inserted within this batchMethods in com.broadleafcommerce.common.dataimport.messaging with parameters of type BatchRecordModifier and TypeMethodDescriptionBatchRecord.addDependent(BatchRecord dependent) Adds a new dependent to this recordMethod parameters in com.broadleafcommerce.common.dataimport.messaging with type arguments of type BatchRecordModifier and TypeMethodDescriptionvoidBatchRequest.setRecords(List<BatchRecord> records) The records that should be inserted within this batchConstructor parameters in com.broadleafcommerce.common.dataimport.messaging with type arguments of type BatchRecordModifierConstructorDescriptionBatchRecord(long lineNumber, String correlationId, String recordType, OperationType operation, String resourceTierIdentifier, Map<String, String> row, List<BatchRecord> dependents) BatchRequest(String id, String importId, String type, String fileType, BatchRequest.BatchContext context, List<BatchRecord> records)  - 
Uses of BatchRecord in com.broadleafcommerce.common.dataimport.util
Methods in com.broadleafcommerce.common.dataimport.util with parameters of type BatchRecordModifier 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.static <T> ConversionUtils.ConversionResponse<T>ConversionUtils.convert(BatchRecord toConvert, org.springframework.core.convert.converter.Converter<BatchRecord, T> converter) Convert the givenBatchRecordusing the givenconverter.static 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.Method parameters in com.broadleafcommerce.common.dataimport.util with type arguments of type BatchRecordModifier 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 completionsstatic <T> ConversionUtils.ConversionResponse<T>ConversionUtils.convert(BatchRecord toConvert, org.springframework.core.convert.converter.Converter<BatchRecord, T> converter) Convert the givenBatchRecordusing the givenconverter.