Uses of Class
com.broadleafcommerce.catalog.domain.option.OptionTemplateGroup
Package
Description
-
Uses of OptionTemplateGroup in com.broadleafcommerce.catalog.dataimport
Modifier and TypeMethodDescriptionprotected OptionTemplateGroup
ProductImportBatchHandler.findOptionTemplateGroup
(String optionTemplateGroupId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Deprecated.Modifier and TypeMethodDescriptionprotected OptionTemplateGroupService<OptionTemplateGroup>
ProductImportBatchHandler.getOptionTemplateGroupService()
Deprecated.ModifierConstructorDescriptionProductImportBatchHandler
(ProductConverter productConverter, VariantConverter variantConverter, IncludedProductConverter includedProductConverter, ProductOptionConverter productOptionConverter, AttributeChoiceValueConverter attributeChoiceValueConverter, SpecificItemChoiceConverter specificItemChoiceConverter, CategoryProductConverter categoryProductConverter, ProductAssetConverter productAssetConverter, ProductTagConverter productTagConverter, com.broadleafcommerce.common.extension.TypeFactory typeFactory, ProductDefaultsInitializer productDefaultsInitializer, ProductService<Product> productService, VariantService<Variant> variantService, ProductAssetService<ProductAsset> productAssetService, CategoryProductService<CategoryProduct> categoryProductService, OptionTemplateGroupService<OptionTemplateGroup> optionTemplateGroupService, OptionTemplateService<OptionTemplate> optionTemplateService, ProductTagService<ProductTag> productTagService, com.broadleafcommerce.data.tracking.core.web.ContextRequestHydrator hydrator) Deprecated. -
Uses of OptionTemplateGroup in com.broadleafcommerce.catalog.dataimport.autoconfigure
Modifier and TypeMethodDescriptionCatalogServicesImportAutoConfiguration.productImportBatchHandler
(ProductConverter productConverter, VariantConverter variantConverter, IncludedProductConverter includedProductConverter, ProductOptionConverter productOptionConverter, AttributeChoiceValueConverter attributeChoiceValueConverter, SpecificItemChoiceConverter specificItemChoiceConverter, CategoryProductConverter categoryProductConverter, ProductAssetConverter productAssetConverter, ProductTagConverter productTagConverter, ProductService<Product> productService, VariantService<Variant> variantService, ProductAssetService<ProductAsset> productAssetService, CategoryProductService<CategoryProduct> categoryProductService, OptionTemplateService<OptionTemplate> optionTemplateService, OptionTemplateGroupService<OptionTemplateGroup> optionTemplateGroupService, ProductTagService<ProductTag> productTagService, ProductDefaultsInitializer productDefaultsInitializer, com.broadleafcommerce.data.tracking.core.web.ContextRequestHydrator hydrator, com.broadleafcommerce.common.extension.TypeFactory typeFactory) -
Uses of OptionTemplateGroup in com.broadleafcommerce.catalog.service.option
Modifier and TypeClassDescriptionclass
interface
OptionTemplateGroupService<P extends OptionTemplateGroup>
Base service API forProductOptionGroups
.Modifier and TypeMethodDescriptionprotected OptionTemplateGroup
DefaultOptionTemplateGroupHydrationService.applyHydration
(@NonNull OptionTemplateGroup group, @NonNull Map<String, OptionTemplate> foundTemplatesById) DefaultOptionTemplateGroupHydrationService.hydrate
(OptionTemplateGroup group, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Gets the IDs of items that are referenced by thegroup
, finds the corresponding items in the data store, and then replaces each reference with the fully populated representation of the item.OptionTemplateGroupHydrationService.hydrate
(OptionTemplateGroup group, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Gets the IDs ofOptionTemplates
that are referenced by thegroup
, finds the corresponding items in the data store, and then replaces each reference with the fully populated representation of the item.Modifier and TypeMethodDescriptionorg.springframework.data.domain.Page<OptionTemplateGroup>
DefaultOptionTemplateGroupHydrationService.hydrate
(org.springframework.data.domain.Page<OptionTemplateGroup> unhydrated, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Gets the IDs of items that are referenced by each group inunhydrated
, finds the corresponding items in the data store, and then replaces each reference with the fully populated representation of the item.org.springframework.data.domain.Page<OptionTemplateGroup>
OptionTemplateGroupHydrationService.hydrate
(org.springframework.data.domain.Page<OptionTemplateGroup> unhydrated, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Gets the IDs ofOptionTemplates
that are referenced by each group inunhydrated
, finds the corresponding items in the data store, and then replaces each reference with the fully populated representation of the item.Modifier and TypeMethodDescriptionprotected OptionTemplateGroup
DefaultOptionTemplateGroupHydrationService.applyHydration
(@NonNull OptionTemplateGroup group, @NonNull Map<String, OptionTemplate> foundTemplatesById) protected void
DefaultOptionTemplateGroupHydrationService.determineReferencedTemplateIds
(OptionTemplateGroup group, Set<String> templateIds) DefaultOptionTemplateGroupHydrationService.hydrate
(OptionTemplateGroup group, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Gets the IDs of items that are referenced by thegroup
, finds the corresponding items in the data store, and then replaces each reference with the fully populated representation of the item.OptionTemplateGroupHydrationService.hydrate
(OptionTemplateGroup group, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Gets the IDs ofOptionTemplates
that are referenced by thegroup
, finds the corresponding items in the data store, and then replaces each reference with the fully populated representation of the item.Modifier and TypeMethodDescriptionorg.springframework.data.domain.Page<OptionTemplateGroup>
DefaultOptionTemplateGroupHydrationService.hydrate
(org.springframework.data.domain.Page<OptionTemplateGroup> unhydrated, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Gets the IDs of items that are referenced by each group inunhydrated
, finds the corresponding items in the data store, and then replaces each reference with the fully populated representation of the item.org.springframework.data.domain.Page<OptionTemplateGroup>
OptionTemplateGroupHydrationService.hydrate
(org.springframework.data.domain.Page<OptionTemplateGroup> unhydrated, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Gets the IDs ofOptionTemplates
that are referenced by each group inunhydrated
, finds the corresponding items in the data store, and then replaces each reference with the fully populated representation of the item. -
Uses of OptionTemplateGroup in com.broadleafcommerce.catalog.service.product
Modifier and TypeMethodDescriptionprotected OptionTemplateGroupService<OptionTemplateGroup>
DefaultOptionGenerationService.getOptionTemplateGroupService()
Modifier and TypeMethodDescriptionprotected P
DefaultOptionGenerationService.generateOptionsFromTemplateGroup
(@NonNull String productId, @NonNull OptionTemplateGroup optionTemplateGroup, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Generates new entries for therequested product's
options
based on the providedOptionTemplateGroup
.protected P
DefaultOptionGenerationService.referenceOptionsFromTemplateGroup
(@NonNull String productId, @NonNull OptionTemplateGroup optionTemplateGroup, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Populates therequested product's
options'
with each of theoption template IDs
of the providedOptionTemplateGroup
.ModifierConstructorDescriptionDefaultOptionGenerationService
(ProductService<P> productService, OptionTemplateValidator optionTemplateValidator, OptionTemplateGroupValidator optionTemplateGroupValidator, OptionTemplateService<OptionTemplate> optionTemplateService, OptionTemplateGroupService<OptionTemplateGroup> optionTemplateGroupService, com.broadleafcommerce.translation.service.TranslationEntityService<com.broadleafcommerce.translation.domain.Translation> translationEntityService, OptionTemplateGroupHydrationService optionTemplateGroupHydrationService, com.broadleafcommerce.common.extension.TypeFactory typeFactory, String optionTemplateRepositoryDomain) -
Uses of OptionTemplateGroup in com.broadleafcommerce.catalog.service.validation
Modifier and TypeMethodDescriptionprotected void
OptionTemplateGroupValidator.validateTemplates
(OptionTemplateGroup group, org.springframework.validation.Errors errors, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) -
Uses of OptionTemplateGroup in com.broadleafcommerce.catalog.web.endpoint.option
Modifier and TypeMethodDescriptionOptionTemplateGroupEndpoint.create
(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, OptionTemplateGroup req) OptionTemplateGroupEndpoint.read
(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, String id) OptionTemplateGroupEndpoint.replace
(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, String id, OptionTemplateGroup req) OptionTemplateGroupEndpoint.update
(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, String id, OptionTemplateGroup req) Modifier and TypeMethodDescriptionprotected OptionTemplateGroupService<OptionTemplateGroup>
OptionTemplateGroupEndpoint.getGroupService()
org.springframework.data.domain.Page<OptionTemplateGroup>
OptionTemplateGroupEndpoint.readAll
(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, String query, org.springframework.data.domain.Pageable page, cz.jirutka.rsql.parser.ast.Node filters) Modifier and TypeMethodDescriptionOptionTemplateGroupEndpoint.create
(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, OptionTemplateGroup req) OptionTemplateGroupEndpoint.replace
(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, String id, OptionTemplateGroup req) OptionTemplateGroupEndpoint.update
(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, String id, OptionTemplateGroup req) ModifierConstructorDescriptionOptionTemplateGroupEndpoint
(OptionTemplateGroupService<OptionTemplateGroup> productOptionGroupService, OptionTemplateGroupHydrationService optionTemplateGroupHydrationService, com.broadleafcommerce.translation.service.TranslationEntityService<com.broadleafcommerce.translation.domain.Translation> translationEntityService)