Class ResolvedProductReferences
java.lang.Object
com.broadleafcommerce.catalog.service.product.hydration.ResolvedProductReferences
Used by the
DefaultProductHydrationService
to hold the results of querying for the
references.- Author:
- Samarth Dhruva (samarthd)
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Contains the results of querying forProductReferences.categoryIdsToFind
.Contains the results of querying forProductReferences.dataDrivenEnumIdsToFind
.Contains the results of querying forProductReferences.optionTemplateIdstoFind
.Contains the results of querying forProductReferences.productIdsToFindPrimaryAssetsFor
.Contains the results of querying forProductReferences.productIdsToFindPrimaryCategoriesFor
.Contains the results of querying forProductReferences.productIdsToFind
.Contains the results of querying forProductReferences.variantIdsToFind
.int
hashCode()
void
setCategoriesById
(Map<String, Category> categoriesById) Contains the results of querying forProductReferences.categoryIdsToFind
.void
setDataDrivenEnumsById
(Map<String, DataDrivenEnum> dataDrivenEnumsById) Contains the results of querying forProductReferences.dataDrivenEnumIdsToFind
.void
setOptionTemplatesById
(Map<String, OptionTemplate> optionTemplatesById) Contains the results of querying forProductReferences.optionTemplateIdstoFind
.void
setPrimaryAssetsByProductId
(Map<String, ProductAsset> primaryAssetsByProductId) Contains the results of querying forProductReferences.productIdsToFindPrimaryAssetsFor
.void
setPrimaryCategoriesByProductId
(Map<String, Category> primaryCategoriesByProductId) Contains the results of querying forProductReferences.productIdsToFindPrimaryCategoriesFor
.void
setProductsById
(Map<String, Product> productsById) Contains the results of querying forProductReferences.productIdsToFind
.void
setVariantsById
(Map<String, Variant> variantsById) Contains the results of querying forProductReferences.variantIdsToFind
.toString()
-
Constructor Details
-
ResolvedProductReferences
public ResolvedProductReferences()
-
-
Method Details
-
getProductsById
Contains the results of querying forProductReferences.productIdsToFind
. -
getVariantsById
Contains the results of querying forProductReferences.variantIdsToFind
. -
getPrimaryAssetsByProductId
Contains the results of querying forProductReferences.productIdsToFindPrimaryAssetsFor
. -
getPrimaryCategoriesByProductId
Contains the results of querying forProductReferences.productIdsToFindPrimaryCategoriesFor
. -
getCategoriesById
Contains the results of querying forProductReferences.categoryIdsToFind
. -
getDataDrivenEnumsById
Contains the results of querying forProductReferences.dataDrivenEnumIdsToFind
. -
getOptionTemplatesById
Contains the results of querying forProductReferences.optionTemplateIdstoFind
. -
setProductsById
Contains the results of querying forProductReferences.productIdsToFind
. -
setVariantsById
Contains the results of querying forProductReferences.variantIdsToFind
. -
setPrimaryAssetsByProductId
Contains the results of querying forProductReferences.productIdsToFindPrimaryAssetsFor
. -
setPrimaryCategoriesByProductId
Contains the results of querying forProductReferences.productIdsToFindPrimaryCategoriesFor
. -
setCategoriesById
Contains the results of querying forProductReferences.categoryIdsToFind
. -
setDataDrivenEnumsById
Contains the results of querying forProductReferences.dataDrivenEnumIdsToFind
. -
setOptionTemplatesById
Contains the results of querying forProductReferences.optionTemplateIdstoFind
. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-