Uses of Class
com.broadleafcommerce.dataexchange.service.HandlerArgs
Packages that use HandlerArgs
Package
Description
- 
Uses of HandlerArgs in com.broadleafcommerce.dataexchange.service
Methods in com.broadleafcommerce.dataexchange.service with parameters of type HandlerArgsModifier and TypeMethodDescriptionprotected CompletableFuture<Void>AbstractBatchItemHandler.applyHandle(HandlerArgs<T1, T2> args, org.springframework.core.task.AsyncTaskExecutor executor, org.springframework.retry.support.RetryTemplate retryTemplate, CompletableFuture<Void> result) Create a completable future that will apply the handle method.protected CompletableFuture<Void>AbstractBatchItemHandler.applyPostOperations(HandlerArgs<T1, T2> args, CompletableFuture<Void> future) Applies the postHandle and populateCorrelationId methods.default CompletableFuture<Void>BatchItemHandler.createCompletableFuture(Runnable runnable, HandlerArgs<T1, T2> args) Create aCompletableFuturethat will run the given runnable.default <R> CompletableFuture<Void>BatchItemHandler.createCompletableFuture(Supplier<R> supplier, HandlerArgs<T1, T2> args) Create a retryableCompletableFuturethat will execute the given supplier.protected CompletableFuture<Void>AbstractBatchItemHandler.createFutureInternal(HandlerArgs<T1, T2> args) Create a completable future that will apply the preHandle, handle, postHandle, and createSupplementalFutures methods.default CompletableFuture<Void>BatchItemHandler.createSupplementalFutures(HandlerArgs<T1, T2> args) Create any supplemental futures that should be executed after the main future.protected T1AbstractBatchItemHandler.getSavedTopLevel(HandlerArgs<T1, T2> args) BatchItemHandler.handle(HandlerArgs<T1, T2> args) Perform the necessary actions on the item in the batch.default T2BatchItemHandler.handleCreate(HandlerArgs<T1, T2> args) Handle the create operation.default T2BatchItemHandler.handleDelete(HandlerArgs<T1, T2> args) Handle the delete operation.default T2BatchItemHandler.handleUpdate(HandlerArgs<T1, T2> args) Handle the update operation.protected booleanAbstractBatchItemHandler.isNewlyCreated(HandlerArgs<?, ?> args) Returns true if this is a newly created item or if the saved item is null.default RunnableBatchItemHandler.populateCorrelationId(HandlerArgs<T1, T2> args) Automatically called after the item is handled.BatchItemHandler.postHandle(HandlerArgs<T1, T2> args) This method is called after the item has been saved.default RunnableBatchItemHandler.preHandle(HandlerArgs<T1, T2> args) Perform any necessary actions before the item is handled (e.g.default RunnableBatchItemHandler.retryableRunnable(Runnable runnable, HandlerArgs<T1, T2> args) Returns a retryable runnable.default <R> RunnableBatchItemHandler.retryableSupplier(Supplier<R> supplier, HandlerArgs<T1, T2> args) Create a retryable supplier that will run the given supplier.default booleanBatchItemHandler.shouldAbort(HandlerArgs<T1, T2> args) Returns true if the handler should abort. - 
Uses of HandlerArgs in com.broadleafcommerce.dataexchange.service.product
Methods in com.broadleafcommerce.dataexchange.service.product with parameters of type HandlerArgsModifier and TypeMethodDescriptionprotected CompletableFuture<Void>PriceDataBatchItemHandler.applyHandle(HandlerArgs<ComprehensiveProduct, T> args, org.springframework.core.task.AsyncTaskExecutor executor, org.springframework.retry.support.RetryTemplate retryTemplate, CompletableFuture<Void> result) protected CompletableFuture<Void>ProductBatchItemHandler.buildProductTranslationsMap(HandlerArgs<T, T> args) protected Function<? super Void,? extends CompletionStage<Void>> ProductBatchItemHandler.buildSaveTagFutures(HandlerArgs<T, T> args) protected Function<? super Void,? extends CompletionStage<Void>> VariantBatchItemHandler.buildSaveTagFutures(HandlerArgs<ComprehensiveProduct, T> args) protected @NotNull Function<Void,CompletionStage<Void>> ProductAssetBatchItemHandler.buildSaveTranslationFutures(HandlerArgs<ComprehensiveProduct, T> args) protected @NotNull Function<Void,CompletionStage<Void>> ProductBatchItemHandler.buildSaveTranslationFutures(HandlerArgs<T, T> args) protected @NotNull Function<Void,CompletionStage<Void>> VariantBatchItemHandler.buildSaveTranslationFutures(HandlerArgs<ComprehensiveProduct, T> args) protected CompletableFuture<Void>ProductAssetBatchItemHandler.buildVariantTranslationsMap(HandlerArgs<ComprehensiveProduct, T> args) ProductAssetBatchItemHandler.createSupplementalFutures(HandlerArgs<ComprehensiveProduct, T> args) ProductBatchItemHandler.createSupplementalFutures(HandlerArgs<T, T> args) VariantBatchItemHandler.createSupplementalFutures(HandlerArgs<ComprehensiveProduct, T> args) protected CompletableFuture<Void>ProductBatchItemHandler.deleteVariantsFuture(HandlerArgs<T, T> args, BatchContext<T> tBatchContext) protected voidProductTagBatchItemHandler.determineOperationType(HandlerArgs<ComprehensiveProduct, T> args) voidProductBatchItemHandlerHelper.determineVariantOperations(HandlerArgs<T, T> args) Determines the operations that need to be performed on the variants of a product.protected BatchItemOperationTypeProductBatchItemHandler.findVariantOperationType(HandlerArgs<T, T> args, ExchangeObject exchangeObject) InventoryBatchItemHandler.handle(HandlerArgs<ComprehensiveProduct, T2> args) PriceDataBatchItemHandler.handle(HandlerArgs<ComprehensiveProduct, T> args) ProductBatchItemHandler.handle(HandlerArgs<T, T> args) ProductAssetBatchItemHandler.handleCreate(HandlerArgs<ComprehensiveProduct, T> args) ProductBatchItemHandler.handleCreate(HandlerArgs<T, T> args) ProductTagBatchItemHandler.handleCreate(HandlerArgs<ComprehensiveProduct, T> args) VariantBatchItemHandler.handleCreate(HandlerArgs<ComprehensiveProduct, T> args) protected CompletableFuture<Void>PriceDataBatchItemHandler.handleCreates(HandlerArgs<ComprehensiveProduct, T> args) ProductTagBatchItemHandler.handleDelete(HandlerArgs<ComprehensiveProduct, T> args) VariantBatchItemHandler.handleDelete(HandlerArgs<ComprehensiveProduct, T> args) protected CompletableFuture<Void>PriceDataBatchItemHandler.handleDeletes(HandlerArgs<ComprehensiveProduct, T> args) protected CompletableFuture<Void>ProductBatchItemHandler.handleProductTags(HandlerArgs<T, T> args) protected CompletableFuture<Void>VariantBatchItemHandler.handleTags(HandlerArgs<ComprehensiveProduct, T> args) ProductAssetBatchItemHandler.handleUpdate(HandlerArgs<ComprehensiveProduct, T> args) ProductBatchItemHandler.handleUpdate(HandlerArgs<T, T> args) ProductTagBatchItemHandler.handleUpdate(HandlerArgs<ComprehensiveProduct, T> args) VariantBatchItemHandler.handleUpdate(HandlerArgs<ComprehensiveProduct, T> args) protected CompletableFuture<Void>PriceDataBatchItemHandler.handleUpdates(HandlerArgs<ComprehensiveProduct, T> args) protected CompletableFuture<Void>ProductBatchItemHandler.loadExistingTags(HandlerArgs<T, T> args) protected CompletableFuture<Void>VariantBatchItemHandler.loadExistingTags(HandlerArgs<ComprehensiveProduct, T> args) protected booleanProductBatchItemHandlerHelper.needsVariantCalculation(HandlerArgs<T, T> args, T product, List<Variant> variantsToSave, List<Variant> existingVariants) Determines if the variant create/update operations need to be calculated.protected voidProductTagBatchItemHandler.populateAdvancedTagId(T productTag, HandlerArgs<ComprehensiveProduct, T> handlerArgs) protected voidProductTagBatchItemHandler.populateParentIds(T productTag, HandlerArgs<ComprehensiveProduct, T> handlerArgs) InventoryBatchItemHandler.postHandle(HandlerArgs<ComprehensiveProduct, T2> args) PriceDataBatchItemHandler.postHandle(HandlerArgs<ComprehensiveProduct, T> args) ProductAssetBatchItemHandler.postHandle(HandlerArgs<ComprehensiveProduct, T> args) ProductBatchItemHandler.postHandle(HandlerArgs<T, T> args) ProductTagBatchItemHandler.postHandle(HandlerArgs<ComprehensiveProduct, T> args) VariantBatchItemHandler.postHandle(HandlerArgs<ComprehensiveProduct, T> args) PriceDataBatchItemHandler.preHandle(HandlerArgs<ComprehensiveProduct, T> handlerArgs) ProductAssetBatchItemHandler.preHandle(HandlerArgs<ComprehensiveProduct, T> args) ProductBatchItemHandler.preHandle(HandlerArgs<T, T> handlerArgs) ProductTagBatchItemHandler.preHandle(HandlerArgs<ComprehensiveProduct, T> handlerArgs) protected CompletableFuture<Void>VariantBatchItemHandler.prepareVariantTranslations(HandlerArgs<ComprehensiveProduct, T> args) protected RunnableProductBatchItemHandler.saveProductTranslationRunnable(List<Translation> translations, Locale locale, HandlerArgs<T, T> args) protected CompletableFuture<Void>ProductBatchItemHandler.saveTranslationsFuture(HandlerArgs<T, T> args) protected CompletableFuture<Void>VariantBatchItemHandler.saveTranslationsFutures(HandlerArgs<ComprehensiveProduct, T> args) protected RunnableVariantBatchItemHandler.saveVariantTranslationRunnable(List<Translation> translations, Locale locale, HandlerArgs<ComprehensiveProduct, T> args)