Uses of Class
com.broadleafcommerce.catalog.domain.enumeration.DataDrivenEnum
Package
Description
-
Uses of DataDrivenEnum in com.broadleafcommerce.catalog.domain.enumeration.commerce
Modifier and TypeMethodDescriptionDataDrivenEnumDetails.getDataDrivenEnum()
DataDrivenEnumDetailsContext.getResolvedDataDrivenEnum()
The resolved data driven enum for theDataDrivenEnumDetailsContext.request
.Modifier and TypeMethodDescriptionvoid
DataDrivenEnumDetails.setDataDrivenEnum
(DataDrivenEnum dataDrivenEnum) void
DataDrivenEnumDetailsContext.setResolvedDataDrivenEnum
(DataDrivenEnum resolvedDataDrivenEnum) The resolved data driven enum for theDataDrivenEnumDetailsContext.request
.ModifierConstructorDescriptionDataDrivenEnumDetails
(DataDrivenEnum dataDrivenEnum, boolean associatedCategoryExists) DataDrivenEnumDetailsContext
(DataDrivenEnumDetailsRequest request, DataDrivenEnum resolvedDataDrivenEnum) -
Uses of DataDrivenEnum in com.broadleafcommerce.catalog.domain.product
Modifier and TypeMethodDescriptionConsolidatedProduct.getBrand()
Product.getBrand()
ConsolidatedProduct.getMerchandisingType()
Product.getMerchandisingType()
ConsolidatedProduct.getTargetDemographic()
Product.getTargetDemographic()
Modifier and TypeMethodDescriptionvoid
ConsolidatedProduct.setBrand
(DataDrivenEnum brand) void
Product.setBrand
(DataDrivenEnum brand) void
ConsolidatedProduct.setMerchandisingType
(DataDrivenEnum merchandisingType) void
Product.setMerchandisingType
(DataDrivenEnum merchandisingType) void
ConsolidatedProduct.setTargetDemographic
(DataDrivenEnum targetDemographic) void
Product.setTargetDemographic
(DataDrivenEnum targetDemographic) Modifier and TypeMethodDescriptionvoid
ConsolidatedProduct.setDataDrivenEnums
(List<DataDrivenEnum> dataDrivenEnums) ModifierConstructorDescriptionProduct
(String id, String name, String uri, String description, String sku, String upc, String externalId, javax.money.CurrencyUnit currency, String pricingKey, javax.money.MonetaryAmount msrp, javax.money.MonetaryAmount defaultPrice, javax.money.MonetaryAmount salePrice, javax.money.MonetaryAmount cost, String metaTitle, String metaDescription, String displayTemplate, boolean online, boolean discountable, String inventoryType, String mergingType, boolean availableOnline, String inventoryCheckStrategy, String inventoryReservationStrategy, boolean eligibleForPickup, Map<String, FulfillmentFlatRate> fulfillmentFlatRates, Instant activeStartDate, Instant activeEndDate, Dimensions dimension, Weight weight, boolean searchable, boolean individuallySold, boolean merchandisingProduct, String productType, String businessType, List<String> keywords, Map<String, Attribute> attributes, List<IncludedProduct> includedProducts, List<ProductOption> options, ReviewsSummary reviewsSummary, ProductAsset primaryAsset, Category primaryCategory, List<String> tags, DataDrivenEnum brand, DataDrivenEnum merchandisingType, DataDrivenEnum targetDemographic, com.broadleafcommerce.data.tracking.core.filtering.business.domain.ContextState contextState, String taxCode, Integer minimumThreshold, Integer maximumThreshold, Variant defaultVariant) -
Uses of DataDrivenEnum in com.broadleafcommerce.catalog.domain.product.commerce
Modifier and TypeMethodDescriptionProductDetails.getBrand()
ProductSummary.getBrand()
ProductDetails.getMerchandisingType()
ProductSummary.getMerchandisingType()
ProductDetails.getTargetDemographic()
ProductSummary.getTargetDemographic()
Modifier and TypeMethodDescriptionProductDetailsContext.getRelatedDataDrivenEnums()
An aggregation of all of theDataDrivenEnums
related to theProductDetailsContext.resolvedProduct
.Modifier and TypeMethodDescriptionvoid
ProductDetails.setBrand
(DataDrivenEnum brand) void
ProductSummary.setBrand
(DataDrivenEnum brand) void
ProductDetails.setMerchandisingType
(DataDrivenEnum merchandisingType) void
ProductSummary.setMerchandisingType
(DataDrivenEnum merchandisingType) void
ProductDetails.setTargetDemographic
(DataDrivenEnum targetDemographic) void
ProductSummary.setTargetDemographic
(DataDrivenEnum targetDemographic) Modifier and TypeMethodDescriptionvoid
ProductDetailsContext.setRelatedDataDrivenEnums
(List<DataDrivenEnum> relatedDataDrivenEnums) An aggregation of all of theDataDrivenEnums
related to theProductDetailsContext.resolvedProduct
. -
Uses of DataDrivenEnum in com.broadleafcommerce.catalog.service.enumeration
Modifier and TypeInterfaceDescriptioninterface
DataDrivenEnumService<D extends DataDrivenEnum>
Service API forDataDrivenEnums
.class
DefaultDataDrivenEnumService<D extends DataDrivenEnum>
-
Uses of DataDrivenEnum in com.broadleafcommerce.catalog.service.enumeration.commerce
Modifier and TypeMethodDescriptionprotected DataDrivenEnumService<DataDrivenEnum>
DefaultDataDrivenEnumDetailsService.getDataDrivenEnumService()
protected Set<DataDrivenEnum>
DefaultDataDrivenEnumDetailsService.resolveDataDrivenEnums
(DataDrivenEnumDetailsRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Modifier and TypeMethodDescriptionprotected Collection<DataDrivenEnumDetails>
DefaultDataDrivenEnumDetailsService.buildDetails
(Collection<DataDrivenEnum> dataDrivenEnums, DataDrivenEnumDetailsRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) ModifierConstructorDescriptionDefaultDataDrivenEnumDetailsService
(com.broadleafcommerce.common.extension.TypeFactory typeFactory, DataDrivenEnumService<DataDrivenEnum> dataDrivenEnumService, CategoryService<Category> categoryService) -
Uses of DataDrivenEnum in com.broadleafcommerce.catalog.service.product.commerce.context.contributor
Modifier and TypeMethodDescriptionprotected DataDrivenEnumService<DataDrivenEnum>
RelatedDataDrivenEnumsProductContextContributor.getDataDrivenEnumService()
Modifier and TypeMethodDescriptionprotected void
RelatedDataDrivenEnumsProductContextContributor.addDataDrivenEnumIdByProductId
(DataDrivenEnum dataDrivenEnum, String productId, Map<String, Set<String>> enumIdsByProductId) Modifier and TypeMethodDescriptionprotected void
RelatedDataDrivenEnumsProductContextContributor.setDataDrivenEnums
(@NonNull Collection<? extends ProductDetailsContext> productDetailsContexts, List<DataDrivenEnum> dataDrivenEnumsForAllProducts, Map<String, Set<String>> enumIdsByProductId) ModifierConstructorDescriptionRelatedDataDrivenEnumsProductContextContributor
(DataDrivenEnumService<DataDrivenEnum> dataDrivenEnumService) -
Uses of DataDrivenEnum in com.broadleafcommerce.catalog.service.product.commerce.contributor
Modifier and TypeMethodDescriptionprotected <P extends ProductDetails>
voidDataDrivenEnumsProductDetailsContributor.setDataDrivenEnumIfPresent
(List<DataDrivenEnum> relatedDataDrivenEnums, P productDetails, Function<P, DataDrivenEnum> dataDrivenEnumGetter, BiConsumer<P, DataDrivenEnum> dataDrivenEnumSetter) protected <P extends ProductDetails>
voidDataDrivenEnumsProductDetailsContributor.setDataDrivenEnumIfPresent
(List<DataDrivenEnum> relatedDataDrivenEnums, P productDetails, Function<P, DataDrivenEnum> dataDrivenEnumGetter, BiConsumer<P, DataDrivenEnum> dataDrivenEnumSetter) protected <P extends ProductDetails>
voidDataDrivenEnumsProductDetailsContributor.setDataDrivenEnumIfPresent
(List<DataDrivenEnum> relatedDataDrivenEnums, P productDetails, Function<P, DataDrivenEnum> dataDrivenEnumGetter, BiConsumer<P, DataDrivenEnum> dataDrivenEnumSetter) protected void
DataDrivenEnumsProductDetailsContributor.setDataDrivenEnums
(ProductDetails productDetails, List<DataDrivenEnum> relatedDataDrivenEnums) -
Uses of DataDrivenEnum in com.broadleafcommerce.catalog.service.product.consolidation
Modifier and TypeMethodDescriptionprotected DataDrivenEnumService<DataDrivenEnum>
DataDrivenEnumConsolidationContributor.getDataDrivenEnumService()
Modifier and TypeMethodDescriptionprotected void
DataDrivenEnumConsolidationContributor.addDataDrivenEnumId
(DataDrivenEnum dataDrivenEnum, List<String> enumIds) Modifier and TypeMethodDescriptionprotected <P extends ConsolidatedProduct>
voidDataDrivenEnumConsolidationContributor.setDataDrivenEnumIfPresent
(P product, List<DataDrivenEnum> dataDrivenEnumsForAllProducts, Function<P, DataDrivenEnum> dataDrivenEnumGetter, BiConsumer<P, DataDrivenEnum> dataDrivenEnumSetter) Finds and sets the product's data driven enum field if present using the given getter and setter, and add the enum toConsolidatedProduct.getDataDrivenEnums()
.protected <P extends ConsolidatedProduct>
voidDataDrivenEnumConsolidationContributor.setDataDrivenEnumIfPresent
(P product, List<DataDrivenEnum> dataDrivenEnumsForAllProducts, Function<P, DataDrivenEnum> dataDrivenEnumGetter, BiConsumer<P, DataDrivenEnum> dataDrivenEnumSetter) Finds and sets the product's data driven enum field if present using the given getter and setter, and add the enum toConsolidatedProduct.getDataDrivenEnums()
.protected <P extends ConsolidatedProduct>
voidDataDrivenEnumConsolidationContributor.setDataDrivenEnumIfPresent
(P product, List<DataDrivenEnum> dataDrivenEnumsForAllProducts, Function<P, DataDrivenEnum> dataDrivenEnumGetter, BiConsumer<P, DataDrivenEnum> dataDrivenEnumSetter) Finds and sets the product's data driven enum field if present using the given getter and setter, and add the enum toConsolidatedProduct.getDataDrivenEnums()
.protected void
DataDrivenEnumConsolidationContributor.setDataDrivenEnumsForProduct
(ConsolidatedProduct product, List<DataDrivenEnum> dataDrivenEnumsForAllProducts) ModifierConstructorDescriptionDataDrivenEnumConsolidationContributor
(com.broadleafcommerce.translation.service.TranslationEntityService<com.broadleafcommerce.translation.domain.Translation> translationEntityService, DataDrivenEnumService<DataDrivenEnum> dataDrivenEnumService, com.broadleafcommerce.common.extension.TypeFactory typeFactory) -
Uses of DataDrivenEnum in com.broadleafcommerce.catalog.service.product.hydration
Modifier and TypeMethodDescriptionResolvedProductReferences.getDataDrivenEnumsById()
Contains the results of querying forProductReferences.dataDrivenEnumIdsToFind
.protected DataDrivenEnumService<DataDrivenEnum>
DefaultProductHydrationService.getDataDrivenEnumService()
Modifier and TypeMethodDescriptionprotected void
DefaultProductHydrationService.applyHydration
(DataDrivenEnum dataDrivenEnum, String hydrationTarget, ResolvedProductReferences foundItems) protected void
DefaultProductHydrationService.determineReferences
(DataDrivenEnum dataDrivenEnum, ProductReferences references) Modifier and TypeMethodDescriptionvoid
ResolvedProductReferences.setDataDrivenEnumsById
(Map<String, DataDrivenEnum> dataDrivenEnumsById) Contains the results of querying forProductReferences.dataDrivenEnumIdsToFind
.ModifierConstructorDescriptionDefaultProductHydrationService
(ProductService<Product> productService, ProductAssetService<ProductAsset> productAssetService, VariantService<Variant> variantService, CategoryService<Category> categoryService, CategoryProductService<CategoryProduct> categoryProductService, DataDrivenEnumService<DataDrivenEnum> dataDrivenEnumService, com.broadleafcommerce.common.extension.TypeFactory typeFactory) -
Uses of DataDrivenEnum in com.broadleafcommerce.catalog.service.validation
Modifier and TypeMethodDescriptionprotected DataDrivenEnumService<DataDrivenEnum>
DataDrivenEnumValidator.getDataDrivenEnumService()
protected Optional<DataDrivenEnum>
DataDrivenEnumValidator.readByTypeAndValue
(String type, String value, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Read a data driven enum by type and value.Modifier and TypeMethodDescriptionprotected void
DataDrivenEnumValidator.checkTypeAndValueAlreadyExists
(String id, DataDrivenEnum dataDrivenEnum, org.springframework.validation.Errors errors, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Validates that the type and value combination provided isn't already in use.protected void
DataDrivenEnumValidator.validateUpdate
(DataDrivenEnum dataDrivenEnum, org.springframework.validation.Errors errors, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected void
DataDrivenEnumValidator.validateValue
(DataDrivenEnum dataDrivenEnum, org.springframework.validation.Errors errors) Modifier and TypeMethodDescriptionvoid
DataDrivenEnumValidator.setDataDrivenEnumService
(DataDrivenEnumService<DataDrivenEnum> dataDrivenEnumService) Lazy injection since this validator is itself a service component. -
Uses of DataDrivenEnum in com.broadleafcommerce.catalog.web.endpoint
Modifier and TypeMethodDescriptionDataDrivenEnumEndpoint.createDataDrivenEnum
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, DataDrivenEnum req) DataDrivenEnumEndpoint.readDataDrivenEnumById
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String enumId) DataDrivenEnumEndpoint.replaceDataDrivenEnum
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id, DataDrivenEnum req) DataDrivenEnumEndpoint.updateDataDrivenEnum
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id, DataDrivenEnum req) Modifier and TypeMethodDescriptionprotected DataDrivenEnumService<DataDrivenEnum>
DataDrivenEnumEndpoint.getDataDrivenEnumService()
org.springframework.data.domain.Page<DataDrivenEnum>
DataDrivenEnumEndpoint.readAllDataDrivenEnums
(com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String query, cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Pageable page) Modifier and TypeMethodDescriptionDataDrivenEnumEndpoint.createDataDrivenEnum
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, DataDrivenEnum req) DataDrivenEnumEndpoint.replaceDataDrivenEnum
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id, DataDrivenEnum req) DataDrivenEnumEndpoint.updateDataDrivenEnum
(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id, DataDrivenEnum req) ModifierConstructorDescriptionDataDrivenEnumEndpoint
(DataDrivenEnumService<DataDrivenEnum> dataDrivenEnumService, com.broadleafcommerce.translation.service.TranslationEntityService<com.broadleafcommerce.translation.domain.Translation> translationEntityService)