Uses of Class
com.broadleafcommerce.catalog.service.product.hydration.ResolvedProductReferences
Packages that use ResolvedProductReferences
Package
Description
-
Uses of ResolvedProductReferences in com.broadleafcommerce.catalog.service.product.characteristic
Methods in com.broadleafcommerce.catalog.service.product.characteristic with parameters of type ResolvedProductReferencesModifier and TypeMethodDescriptionvoidCharacteristicsTranslationService.applyBaseCharacteristicsTranslations(Product product, ResolvedProductReferences foundItems, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Handle finding and applying translations of aCharacteristicValuedefined on the baseCharacteristicentityvoidDefaultCharacteristicsTranslationService.applyBaseCharacteristicsTranslations(Product product, ResolvedProductReferences foundItems, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) voidCharacteristicsTranslationService.applyConsolidatedCharacteristicsTranslationsToProduct(Product product, ResolvedProductReferences foundItems, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Handle finding and applying translations for anyProductCharacteristic.getValue()where theProductCharacteristicValue.getSourceCharacteristicValueId()is present.voidDefaultCharacteristicsTranslationService.applyConsolidatedCharacteristicsTranslationsToProduct(Product product, ResolvedProductReferences foundItems, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) voidCharacteristicsTranslationService.applyDirectProductCharacteristicsTranslations(Product product, ResolvedProductReferences foundItems, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Handle finding and applying translations for anyProductCharacteristic.getValue()where theProductCharacteristicValue.getSourceCharacteristicValueId()is present.voidDefaultCharacteristicsTranslationService.applyDirectProductCharacteristicsTranslations(Product product, ResolvedProductReferences foundItems, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected voidDefaultCharacteristicsTranslationService.findCharacteristicsOnProductTranslations(ProductReferences references, ResolvedProductReferences resolved, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected voidDefaultCharacteristicsTranslationService.findProductCharacteristicsTranslations(ProductReferences references, ResolvedProductReferences resolved, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) voidCharacteristicsTranslationService.findTranslationsForProductsCharacteristics(ProductReferences references, ResolvedProductReferences resolved, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Finds thetranslationsfor theproducts characteristicvalues andcharacteristicvalues translations.voidDefaultCharacteristicsTranslationService.findTranslationsForProductsCharacteristics(ProductReferences references, ResolvedProductReferences resolved, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) -
Uses of ResolvedProductReferences in com.broadleafcommerce.catalog.service.product.hydration
Methods in com.broadleafcommerce.catalog.service.product.hydration that return ResolvedProductReferencesModifier and TypeMethodDescriptionprotected ResolvedProductReferencesDefaultProductHydrationService.findReferences(ProductReferences references, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Queries for all of the references inreferencesand returns the results.Methods in com.broadleafcommerce.catalog.service.product.hydration with parameters of type ResolvedProductReferencesModifier and TypeMethodDescriptionDefaultProductHydrationService.applyCharacteristicHydration(List<T> unhydrated, ResolvedProductReferences resolvedProductReferences, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) ProductHydrationService.applyCharacteristicHydration(List<T> unhydrated, ResolvedProductReferences resolvedProductReferences, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) This is essentially the same asProductHydrationService.hydrateCharacteristics(List, ContextInfo), but the caller is able to provide their own pre-fetched data to use for the complex hydration rather than having this service do the fetching.protected voidDefaultProductHydrationService.applyHydration(DataDrivenEnum dataDrivenEnum, String hydrationTarget, ResolvedProductReferences foundItems) protected voidDefaultProductHydrationService.applyHydration(ProductCharacteristic productCharacteristic, ResolvedProductReferences foundItems) protected voidDefaultProductHydrationService.applyHydration(IncludedProduct includedProduct, ResolvedProductReferences foundItems) protected voidDefaultProductHydrationService.applyHydration(ItemChoice itemChoice, ResolvedProductReferences foundItems) protected ProductOptionDefaultProductHydrationService.applyHydration(ProductOption option, ResolvedProductReferences foundItems) Deprecated.protected ProductOptionDefaultProductHydrationService.applyHydration(ProductOption option, ResolvedProductReferences foundItems, List<Variant> variants) Traverses through theoptionand replaces each item reference with the fully-populated representation of the reference as found infoundItems.protected voidDefaultProductHydrationService.applyHydration(SpecificItemChoice specificChoice, ResolvedProductReferences foundItems) protected ProductDefaultProductHydrationService.applyHydration(Product product, ResolvedProductReferences foundItems, List<Variant> variants, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Traverses through theproductand replaces each item reference with the fully-populated representation of the reference as found infoundItems.protected voidDefaultProductHydrationService.findBusinessTypes(ProductReferences references, ResolvedProductReferences resolved, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Finds theBusinessTypesreferenced by the product.protected voidDefaultProductHydrationService.findCategories(ProductReferences references, ResolvedProductReferences resolved, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Finds theCategoriesreferenced by the product.protected voidDefaultProductHydrationService.findCharacteristics(ProductReferences references, ResolvedProductReferences resolved, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Finds theCharacteristicsreferenced by the product'sProductCharacteristics.protected voidDefaultProductHydrationService.findDataDrivenEnums(ProductReferences references, ResolvedProductReferences resolved, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Finds theDataDrivenEnumsreferenced by the product.protected voidDefaultProductHydrationService.findOptionTemplateReferences(ProductReferences references, ResolvedProductReferences resolved) Collects the ids of all products and variants referenced by anOptionTemplate.protected voidDefaultProductHydrationService.findOptionTemplates(ProductReferences references, ResolvedProductReferences resolved, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Finds theOptionTemplatesreferenced by the product.protected voidDefaultProductHydrationService.findPrimaryAssets(ProductReferences references, ResolvedProductReferences resolved, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Finds the primaryProductAssetsfor the products being hydrated.protected voidDefaultProductHydrationService.findProductCharacteristics(ProductReferences references, ResolvedProductReferences resolved, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Finds theProductCharacteristicsfor the products.protected voidDefaultProductHydrationService.findProducts(ProductReferences references, ResolvedProductReferences resolved, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Finds theProductsreferenced by the product.protected voidDefaultProductHydrationService.findVariants(ProductReferences references, ResolvedProductReferences resolved, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Finds theVariantsreferenced by the product.protected ProductCharacteristicDefaultProductHydrationService.handleMultipleProdCharsFoundForSameFieldName(ProductCharacteristic pc1, ProductCharacteristic pc2, Product product, ResolvedProductReferences foundItems) Called inDefaultProductHydrationService.setProductCharacteristicsIfFound(Product, ResolvedProductReferences)to resolve a scenario where the query for product characteristics of a product actually produced multiple results for the sameProductCharacteristic.getFieldName().protected voidDefaultProductHydrationService.hydrateDefaultVariant(ResolvedProductReferences foundItems, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected voidDefaultProductHydrationService.hydrateExistingProductCharacteristic(Product product, Characteristic characteristic, Set<BusinessTypeCharacteristic> allCharacteristics, ResolvedProductReferences foundItems, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected voidDefaultProductHydrationService.hydrateMissingProductCharacteristics(Product product, ResolvedProductReferences foundItems, boolean initializeDefaultValues, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Handles hydratingProductCharacteristicsonto aProduct.protected voidDefaultProductHydrationService.hydrateMissingProductCharacteristics(Product product, Set<BusinessTypeCharacteristic> allCharacteristics, ResolvedProductReferences foundItems, boolean initializeDefaultValues, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected voidDefaultProductHydrationService.hydrateOrAddProductCharacteristic(Product product, BusinessTypeCharacteristic busTypeChar, Set<BusinessTypeCharacteristic> allCharacteristics, ResolvedProductReferences foundItems, boolean initializeDefaultValues, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected voidDefaultProductHydrationService.resolvePrimaryCategories(ResolvedProductReferences resolved, Map<String, CategoryProduct> primaryCategoryProductsByProductId) Resolves the actualCategoryentities for the products' primary categories.protected voidDefaultProductHydrationService.setProductCharacteristicsIfFound(Product product, ResolvedProductReferences foundItems) protected voidDefaultProductHydrationService.setProductDataDrivenEnumFieldsIfFound(Product product, ResolvedProductReferences foundItems) protected voidDefaultProductHydrationService.setProductPrimaryAssetIfFound(Product product, ResolvedProductReferences foundItems) protected voidDefaultProductHydrationService.setProductPrimaryCategoryIfFound(Product product, ResolvedProductReferences foundItems)
DefaultProductHydrationService.applyHydration(ProductOption, ResolvedProductReferences, List)