Uses of Class
com.broadleafcommerce.catalog.domain.product.Product
Package
Description
-
Uses of Product in com.broadleafcommerce.catalog.clone.messaging
-
Uses of Product in com.broadleafcommerce.catalog.clone.product
Modifier and TypeInterfaceDescriptioninterface
CloneProductRelationshipsManager<P extends Product,
R extends CloneProductRequest> The service manager that is used to clone theProduct
relationships.class
DefaultCloneProductRelationshipsManager<P extends Product,
R extends CloneProductRequest> Default implementation forCloneProductRelationshipsManager
.Modifier and TypeMethodDescriptionprotected void
DefaultCloneProductRelationshipsManager.initializeChangeContainerIfNecessary
(com.broadleafcommerce.data.tracking.core.context.ContextInfo context, Product cloned) -
Uses of Product in com.broadleafcommerce.catalog.clone.product.autoconfigure
Modifier and TypeMethodDescriptionCloneProductAutoConfiguration.cloneCategoryProductService
(CategoryProductService<CategoryProduct> categoryProductService) CloneProductAutoConfiguration.cloneProductAssetsService
(ProductAssetService<ProductAsset> productAssetService) CloneProductAutoConfiguration.cloneProductRelationshipManager
(List<CloneProductRelationshipsService<Product, CloneProductRequest>> cloneProductRelationshipsServices) CloneProductAutoConfiguration.cloneProductService
(ProductService<Product> productService, CloneProductRelationshipsManager<Product, CloneProductRequest> cloneProductRelationshipsManager, ProductRepository<com.broadleafcommerce.data.tracking.core.Trackable> repository, com.broadleafcommerce.common.messaging.notification.NotificationManager notificationManager, com.broadleafcommerce.data.tracking.core.mapping.DomainMapperManager mapperManager, com.fasterxml.jackson.databind.ObjectMapper objectMapper, com.broadleafcommerce.data.tracking.core.mapping.validation.EntityValidatorManager validator, org.springframework.transaction.support.TransactionTemplate template) CloneProductAutoConfiguration.cloneProductTagsService
(ProductTagService<ProductTag> productTagService) CloneProductAutoConfiguration.cloneProductVariantsService
(VariantService<Variant> variantService) CloneProductAutoConfiguration.clonePromotionalProductService
(PromotionalProductService<PromotionalProduct> promotionalProductService) Modifier and TypeMethodDescriptionCloneProductAutoConfiguration.cloneProductRelationshipManager
(List<CloneProductRelationshipsService<Product, CloneProductRequest>> cloneProductRelationshipsServices) CloneProductAutoConfiguration.cloneProductService
(ProductService<Product> productService, CloneProductRelationshipsManager<Product, CloneProductRequest> cloneProductRelationshipsManager, ProductRepository<com.broadleafcommerce.data.tracking.core.Trackable> repository, com.broadleafcommerce.common.messaging.notification.NotificationManager notificationManager, com.broadleafcommerce.data.tracking.core.mapping.DomainMapperManager mapperManager, com.fasterxml.jackson.databind.ObjectMapper objectMapper, com.broadleafcommerce.data.tracking.core.mapping.validation.EntityValidatorManager validator, org.springframework.transaction.support.TransactionTemplate template) CloneProductAutoConfiguration.cloneProductService
(ProductService<Product> productService, CloneProductRelationshipsManager<Product, CloneProductRequest> cloneProductRelationshipsManager, ProductRepository<com.broadleafcommerce.data.tracking.core.Trackable> repository, com.broadleafcommerce.common.messaging.notification.NotificationManager notificationManager, com.broadleafcommerce.data.tracking.core.mapping.DomainMapperManager mapperManager, com.fasterxml.jackson.databind.ObjectMapper objectMapper, com.broadleafcommerce.data.tracking.core.mapping.validation.EntityValidatorManager validator, org.springframework.transaction.support.TransactionTemplate template) -
Uses of Product in com.broadleafcommerce.catalog.clone.product.service
Modifier and TypeClassDescriptionclass
CloneCategoryProductService<P extends Product,
R extends CloneProductRequest> Clone theCategoryProduct
.class
CloneProductAssetsService<P extends Product,
R extends CloneProductRequest> Clone theProductAsset
.interface
CloneProductRelationshipsService<P extends Product,
R extends CloneProductRequest> The service that is used to clone the specifiedProduct
relationships.interface
CloneProductService<P extends Product,
R extends CloneProductRequest> The service that is used to clone theProduct
.class
CloneProductTagsService<P extends Product,
R extends CloneProductRequest> Clone aProduct's
advanced tag relationships
.class
CloneProductVariantsService<P extends Product,
R extends CloneProductRequest> Clone theVariant
.class
ClonePromotionalProductService<P extends Product,
R extends CloneProductRequest> Clone thePromotionalProduct
.class
DefaultCloneProductService<P extends Product,
R extends CloneProductRequest> Default implementation forCloneProductService
. -
Uses of Product in com.broadleafcommerce.catalog.dataexport
Modifier and TypeMethodDescriptionprotected ExportRowProducer<Product>
ProductExportProcessor.getProductExportRowProducer()
protected ProductService<Product>
ProductExportProcessor.getProductService()
com.broadleafcommerce.common.dataexport.service.ReadRecordsResponse<Product>
ProductExportProcessor.readRecordsToProcess
(com.broadleafcommerce.common.dataexport.domain.Export export) Modifier and TypeMethodDescriptioncom.broadleafcommerce.common.dataexport.service.RowGenerationResponse
ProductExportProcessor.generateRows
(List<Product> batchToProcess, com.broadleafcommerce.common.dataexport.domain.Export export) com.broadleafcommerce.common.dataexport.service.RowGenerationResponse
ProductExportRowProducer.generateRows
(List<Product> batch, com.broadleafcommerce.common.dataexport.domain.Export export, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) ModifierConstructorDescriptionProductExportProcessor
(ProductService<Product> productService, com.broadleafcommerce.common.extension.TypeFactory typeFactory, com.broadleafcommerce.data.tracking.core.filtering.fetch.FilterParser<cz.jirutka.rsql.parser.ast.Node> filterParser, com.broadleafcommerce.data.tracking.core.web.ContextRequestConverter contextRequestConverter, com.fasterxml.jackson.databind.ObjectMapper objectMapper, ExportRowProducer<Product> productExportRowProducer) ProductExportProcessor
(ProductService<Product> productService, com.broadleafcommerce.common.extension.TypeFactory typeFactory, com.broadleafcommerce.data.tracking.core.filtering.fetch.FilterParser<cz.jirutka.rsql.parser.ast.Node> filterParser, com.broadleafcommerce.data.tracking.core.web.ContextRequestConverter contextRequestConverter, com.fasterxml.jackson.databind.ObjectMapper objectMapper, ExportRowProducer<Product> productExportRowProducer) -
Uses of Product in com.broadleafcommerce.catalog.dataexport.autoconfigure
Modifier and TypeMethodDescriptioncom.broadleafcommerce.common.dataexport.service.ExportProcessor<Product>
CatalogServicesExportAutoConfiguration.productExportProcessor
(ProductService<Product> productService, com.broadleafcommerce.common.extension.TypeFactory typeFactory, com.broadleafcommerce.data.tracking.core.filtering.fetch.FilterParser<cz.jirutka.rsql.parser.ast.Node> filterParser, com.broadleafcommerce.data.tracking.core.web.ContextRequestConverter contextRequestConverter, com.fasterxml.jackson.databind.ObjectMapper objectMapper, ExportRowProducer<Product> productExportRowProducer) CatalogServicesExportAutoConfiguration.productExportRowProducer
(ProductExportRowConverter productExportRowConverter, VariantExportRowConverter variantExportRowConverter, IncludedProductExportRowConverter includedProductExportRowConverter, ProductOptionExportRowConverter productOptionExportRowConverter, CategoryProductExportRowConverter categoryProductExportRowConverter, ProductAssetExportRowConverter productAssetExportRowConverter, AttributeChoiceValueExportRowConverter attributeChoiceValueExportRowConverter, SpecificItemChoiceExportRowConverter specificItemChoiceExportRowConverter, ProductTagExportRowConverter productTagExportRowConverter, VariantService<Variant> variantService, CategoryProductService<CategoryProduct> categoryProductService, ProductAssetService<ProductAsset> productAssetService, ProductTagService<ProductTag> productTagService) Modifier and TypeMethodDescriptioncom.broadleafcommerce.common.dataexport.service.ExportProcessor<Product>
CatalogServicesExportAutoConfiguration.productExportProcessor
(ProductService<Product> productService, com.broadleafcommerce.common.extension.TypeFactory typeFactory, com.broadleafcommerce.data.tracking.core.filtering.fetch.FilterParser<cz.jirutka.rsql.parser.ast.Node> filterParser, com.broadleafcommerce.data.tracking.core.web.ContextRequestConverter contextRequestConverter, com.fasterxml.jackson.databind.ObjectMapper objectMapper, ExportRowProducer<Product> productExportRowProducer) com.broadleafcommerce.common.dataexport.service.ExportProcessor<Product>
CatalogServicesExportAutoConfiguration.productExportProcessor
(ProductService<Product> productService, com.broadleafcommerce.common.extension.TypeFactory typeFactory, com.broadleafcommerce.data.tracking.core.filtering.fetch.FilterParser<cz.jirutka.rsql.parser.ast.Node> filterParser, com.broadleafcommerce.data.tracking.core.web.ContextRequestConverter contextRequestConverter, com.fasterxml.jackson.databind.ObjectMapper objectMapper, ExportRowProducer<Product> productExportRowProducer) -
Uses of Product in com.broadleafcommerce.catalog.dataexport.converter
-
Uses of Product in com.broadleafcommerce.catalog.dataimport
Modifier and TypeMethodDescriptionProductDefaultsInitializer.initializeDefaults
(Product created) Deprecated.Modifier and TypeMethodDescriptionprotected ProductService<Product>
CompleteProductImportBatchHandler.getProductService()
protected ProductService<Product>
ProductImportBatchHandler.getProductService()
Deprecated.Modifier and TypeMethodDescriptionprotected void
ProductImportBatchHandler.addOptionsToProductFromTemplateGroup
(String correlationId, String optionTemplateGroupId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, Product productToAddOptionsTo, List<com.broadleafcommerce.common.dataimport.util.PersistenceRequest.EmbeddedItemRequest> successful, List<com.broadleafcommerce.common.dataimport.messaging.BatchCompletionRecord> failed) Deprecated.Finds the option template group in the data store, finds each of the group's templates in the data store, and adds each of their options to the given product (the product is not yet persisted with this change).protected void
ProductImportBatchHandler.addOptionToProductFromTemplate
(String correlationId, String optionTemplateId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, Product productToAddOptionTo, List<com.broadleafcommerce.common.dataimport.util.PersistenceRequest.EmbeddedItemRequest> successful, List<com.broadleafcommerce.common.dataimport.messaging.BatchCompletionRecord> failed) Deprecated.Finds the option template in the data store, and adds its option to the given product (the product is not yet persisted with this change).protected void
ProductImportBatchHandler.clearEmptyEmbeddedItems
(Product product) Deprecated.In the case where a product is being updated and no embedded items are specified (ex: a simple product name update wouldn't include product option rows), the collections may have a non-null empty value.protected void
CompleteProductImportBatchHandler.convertVariantRecord
(com.broadleafcommerce.common.dataimport.messaging.BatchRecord variantRecord, com.broadleafcommerce.common.dataimport.messaging.BatchRequest.BatchContext context, Product parent, List<com.broadleafcommerce.common.dataimport.util.PersistenceRequest<Variant>> successfulVariants, List<com.broadleafcommerce.common.dataimport.util.PersistenceRequest<com.broadleafcommerce.translation.domain.Translation>> successfulTranslations, List<com.broadleafcommerce.common.dataimport.messaging.BatchCompletionRecord> failed) protected void
CompleteProductImportBatchHandler.convertVariantsForProduct
(com.broadleafcommerce.common.dataimport.messaging.BatchRequest request, Product parent, com.broadleafcommerce.common.dataimport.messaging.BatchRecord productRecord, List<com.broadleafcommerce.common.dataimport.util.PersistenceRequest<Variant>> successfulVariants, List<com.broadleafcommerce.common.dataimport.util.PersistenceRequest<com.broadleafcommerce.translation.domain.Translation>> successfulTranslations, List<com.broadleafcommerce.common.dataimport.messaging.BatchCompletionRecord> failed) Converts all variant records for the given product with partial success semantics.ProductDefaultsInitializer.initializeDefaults
(Product created) Deprecated.protected void
ProductImportBatchHandler.processIncludedProductRecord
(com.broadleafcommerce.common.dataimport.messaging.BatchRecord includedProductRecord, Product parent, List<com.broadleafcommerce.common.dataimport.util.PersistenceRequest.EmbeddedItemRequest> successful, List<com.broadleafcommerce.common.dataimport.messaging.BatchCompletionRecord> failed) Deprecated.protected void
ProductImportBatchHandler.processOptionRecord
(com.broadleafcommerce.common.dataimport.messaging.BatchRecord optionRecord, Product parent, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, List<com.broadleafcommerce.common.dataimport.util.PersistenceRequest.EmbeddedItemRequest> successful, List<com.broadleafcommerce.common.dataimport.messaging.BatchCompletionRecord> failed) Deprecated.protected void
ProductImportBatchHandler.setProductTypeBasedOnRecord
(Product product, com.broadleafcommerce.common.dataimport.messaging.BatchRecord productRecord) Deprecated.SetgetProductType()
based on whether or not the givenBatchRecord
for product has any variants.Modifier and TypeMethodDescriptionprotected void
CompleteProductImportBatchHandler.preFetchCategoryProducts
(com.broadleafcommerce.common.dataimport.messaging.BatchRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo readContext, Map<String, Product> allPrefetchedProductsByCorrelationId) To satisfy requirements ofCategoryProductColumnConverter
, this method will identify and pre-fetch existing category products and place them intoBatchRequest.BatchContext.getAdditionalContextMap()
.protected void
CompleteProductImportBatchHandler.preFetchProductAssets
(com.broadleafcommerce.common.dataimport.messaging.BatchRequest batchRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo readContext, Map<String, Product> allPrefetchedProductsByCorrelationId) To satisfy requirements ofProductImageColumnConverter
, this method will identify and pre-fetch existing product assets and place them intoBatchRequest.BatchContext.getAdditionalContextMap()
underProductImageColumnConverter.BATCH_CONTEXT_PREFETCHED_IMAGES_BY_PRODUCT_ID_MAP
.protected void
CompleteProductImportBatchHandler.preFetchProducts
(com.broadleafcommerce.common.dataimport.messaging.BatchRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo readContext, Map<String, Product> allPrefetchedProductsByCorrelationId) Finds provided product records with supplied identifier values, pre-fetches them from the data store and places them intoBatchRequest.BatchContext.getAdditionalContextMap()
for use byProductRowConverter
.protected void
CompleteProductImportBatchHandler.preFetchProductTranslations
(com.broadleafcommerce.common.dataimport.messaging.BatchRequest batchRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo readContext, Map<String, Product> allPrefetchedProductsByCorrelationId) To satisfy requirements ofCatalogTranslationColumnConverter
, this method will identify and pre-fetch existing product translations and place them intoBatchRequest.BatchContext.getAdditionalContextMap()
underCatalogTranslationColumnConverter.BATCH_CONTEXT_PREFETCHED_PRODUCT_TRANSLATIONS_BY_PRODUCT_ID
.protected void
CompleteProductImportBatchHandler.preFetchVariants
(com.broadleafcommerce.common.dataimport.messaging.BatchRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo readContext, Map<String, Product> allPrefetchedProductsByCorrelationId, Map<String, Variant> allPrefetchedVariantsByCorrelationIdDestination) protected void
CompleteProductImportBatchHandler.preFetchVariantsAndVariantRelatedEntities
(com.broadleafcommerce.common.dataimport.messaging.BatchRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo readContext, Map<String, Product> allPrefetchedProductsByCorrelationId) protected void
CompleteProductImportBatchHandler.preFetchVariantTranslations
(com.broadleafcommerce.common.dataimport.messaging.BatchRequest batchRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo readContext, Map<String, Product> allPrefetchedProductsByCorrelationId, Map<String, Variant> allPrefetchedVariantsByCorrelationId) To satisfy requirements ofCatalogTranslationColumnConverter
, this method will identify and pre-fetch existing variant translations and place them intoBatchRequest.BatchContext.getAdditionalContextMap()
underCatalogTranslationColumnConverter.BATCH_CONTEXT_PREFETCHED_VARIANT_TRANSLATIONS_BY_VARIANT_ID
.ModifierConstructorDescriptionCompleteProductImportBatchHandler
(ProductRowConverter productConverter, CategoryProductColumnConverter categoryProductColumnConverter, ProductImageColumnConverter productImageColumnConverter, VariantRowConverter variantConverter, CatalogTranslationColumnConverter catalogTranslationColumnConverter, ProductService<Product> productService, VariantService<Variant> variantService, ProductAssetService<ProductAsset> productAssetService, CategoryService<Category> categoryService, CategoryProductService<CategoryProduct> categoryProductService, com.broadleafcommerce.translation.service.TranslationEntityService<com.broadleafcommerce.translation.domain.Translation> translationEntityService, int batchSize, com.broadleafcommerce.data.tracking.core.web.ContextRequestHydrator hydrator) CompleteProductImportBatchHandler
(ProductRowConverter productConverter, CategoryProductColumnConverter categoryProductColumnConverter, ProductImageColumnConverter productImageColumnConverter, VariantRowConverter variantConverter, CatalogTranslationColumnConverter catalogTranslationColumnConverter, ProductService<Product> productService, VariantService<Variant> variantService, ProductAssetService<ProductAsset> productAssetService, CategoryService<Category> categoryService, CategoryProductService<CategoryProduct> categoryProductService, com.broadleafcommerce.translation.service.TranslationEntityService<com.broadleafcommerce.translation.domain.Translation> translationEntityService, com.broadleafcommerce.data.tracking.core.web.ContextRequestHydrator hydrator) ProductImportBatchHandler
(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 Product in com.broadleafcommerce.catalog.dataimport.autoconfigure
Modifier and TypeMethodDescriptionCatalogServicesImportAutoConfiguration.completeProductImportBatchHandler
(ProductRowConverter productConverter, CategoryProductColumnConverter categoryProductColumnConverter, ProductImageColumnConverter productImageColumnConverter, VariantRowConverter variantConverter, CatalogTranslationColumnConverter catalogTranslationColumnConverter, ProductService<Product> productService, VariantService<Variant> variantService, ProductAssetService<ProductAsset> productAssetService, CategoryService<Category> categoryService, CategoryProductService<CategoryProduct> categoryProductService, com.broadleafcommerce.translation.service.TranslationEntityService<com.broadleafcommerce.translation.domain.Translation> translationEntityService, com.broadleafcommerce.data.tracking.core.web.ContextRequestHydrator hydrator) CatalogServicesImportAutoConfiguration.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) CatalogServicesImportAutoConfiguration.updatePricesImportBatchHandler
(com.broadleafcommerce.data.tracking.core.web.ContextRequestHydrator hydrator, ProductService<Product> productService, VariantService<Variant> variantService, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Uses of Product in com.broadleafcommerce.catalog.dataimport.converter
Modifier and TypeMethodDescriptionProductConverter.convert
(@NonNull com.broadleafcommerce.common.dataimport.messaging.BatchRecord source) Deprecated.protected Product
ProductRowConverter.getPrefetchedProduct
(com.broadleafcommerce.common.dataimport.messaging.BatchRecord batchRecord, Map<String, String> batchRecordRow, com.broadleafcommerce.common.dataimport.messaging.BatchRequest.BatchContext context) Checks theBatchRequest.BatchContext.getAdditionalContextMap()
to see if there is already a pre-fetched product matching thebatchRecord
.protected Product
ProductRowConverter.modifyProduct
(@NonNull Product product, @NonNull com.broadleafcommerce.common.dataimport.messaging.BatchRecord record, com.broadleafcommerce.common.dataimport.messaging.BatchRequest.BatchContext context) Hook point to allow implementers to modify the details of the product or return a different product instance.Modifier and TypeMethodDescriptioncom.broadleafcommerce.common.dataimport.util.ConversionUtils.ConversionResponse<Product>
ProductRowConverter.convert
(Object parent, @NonNull com.broadleafcommerce.common.dataimport.messaging.BatchRecord record, com.broadleafcommerce.common.dataimport.messaging.BatchRequest.BatchContext context) ProductRowConverter.instantiateOrGetPrefetchedProduct
(@NonNull com.broadleafcommerce.common.dataimport.messaging.BatchRecord batchRecord, @NonNull Map<String, String> mutableRow, com.broadleafcommerce.common.dataimport.messaging.BatchRequest.BatchContext context) We expect theCompleteProductImportBatchHandler
to have pre-fetched products by various identifier fields if supplied in the original rows.Modifier and TypeMethodDescriptionprotected com.broadleafcommerce.data.tracking.core.type.OperationType
ProductRowConverter.determineOperationType
(@NonNull Product product, boolean productAlreadyExistsInDatastore, @NonNull com.broadleafcommerce.common.dataimport.messaging.BatchRecord record, com.broadleafcommerce.common.dataimport.messaging.BatchRequest.BatchContext context) Determine the effective operation type for the given batch record and product instance.protected void
ProductImageColumnConverter.forceSetOpinionatedPropertiesOnMappedInstance
(ProductAsset productAsset, Product parent, Map<String, String> propertiesFromAssetCell, com.broadleafcommerce.data.tracking.core.type.OperationType operationType, boolean isPrimary, com.broadleafcommerce.common.dataimport.messaging.BatchRequest.BatchContext context) This will be invoked after any properties from the provided row are already mapped onto the targetproductAsset
.protected Map<String,
CategoryProduct> CategoryProductColumnConverter.getPreFetchedCategoryProductsForProductByCategoryId
(com.broadleafcommerce.common.dataimport.messaging.BatchRequest.BatchContext context, Product product) protected Variant
VariantRowConverter.getPrefetchedVariant
(com.broadleafcommerce.common.dataimport.messaging.BatchRecord batchRecord, Map<String, String> batchRecordRow, @NonNull Product parent, com.broadleafcommerce.common.dataimport.messaging.BatchRequest.BatchContext context) Checks theBatchRequest.BatchContext.getAdditionalContextMap()
to see if there is already a pre-fetched variant matching thebatchRecord
.protected com.broadleafcommerce.common.dataimport.util.ConversionUtils.ConversionResponse<CategoryProduct>
CategoryProductColumnConverter.initializeData
(@NonNull CategoryProduct categoryProduct, @NonNull Product parent, @NonNull Category category, @NonNull com.broadleafcommerce.data.tracking.core.type.OperationType operationType, boolean isPrimary, @NonNull com.broadleafcommerce.common.dataimport.messaging.BatchRecord productRecord) Initialize the data from the category product row onto the category product instance and set additional data as needed.protected com.broadleafcommerce.common.dataimport.util.ConversionUtils.ConversionResponse<ProductAsset>
ProductImageColumnConverter.initializeData
(@NonNull ProductAsset productAsset, @NonNull Map<String, String> propertiesFromAssetCell, @NonNull com.broadleafcommerce.data.tracking.core.type.OperationType operationType, @NonNull Product parent, boolean isPrimary, com.broadleafcommerce.common.dataimport.messaging.BatchRequest.BatchContext context) Initialize the data from the asset cell onto the asset instance and set additional data as needed.protected void
ProductRowConverter.initializeData
(@NonNull Product product, @NonNull com.broadleafcommerce.common.dataimport.messaging.BatchRecord record, @NonNull Map<String, String> mutableRow, @NonNull com.broadleafcommerce.data.tracking.core.type.OperationType operation, com.broadleafcommerce.common.dataimport.messaging.BatchRequest.BatchContext context) Initialize the data from the row onto the product.protected void
VariantRowConverter.initializeData
(@NonNull Product parent, @NonNull Variant variant, @NonNull com.broadleafcommerce.common.dataimport.messaging.BatchRecord record, @NonNull Map<String, String> mutableRow, @NonNull com.broadleafcommerce.data.tracking.core.type.OperationType operation, com.broadleafcommerce.common.dataimport.messaging.BatchRequest.BatchContext context) Initialize the data from the row onto the variant.protected org.springframework.data.util.Pair<Boolean,
ProductAsset> ProductImageColumnConverter.instantiateOrGetPrefetchedAsset
(@NonNull Map<String, String> propertiesFromAssetCell, @NonNull Product parent, @NonNull Map<String, ProductAsset> existingProductImagesByUrl) We expect theCompleteProductImportBatchHandler
to have pre-fetched assets if supplied in the original rows.protected org.springframework.data.util.Pair<Boolean,
CategoryProduct> CategoryProductColumnConverter.instantiateOrGetPrefetchedCategoryProduct
(@NonNull Product product, @NonNull Category category, @NonNull Map<String, CategoryProduct> existingCategoryProductRelationshipsForProductByCategoryId) We expect theCompleteProductImportBatchHandler
to have pre-fetched category products if supplied in the original rows.VariantRowConverter.instantiateOrGetPrefetchedVariant
(@NonNull com.broadleafcommerce.common.dataimport.messaging.BatchRecord record, @NonNull Product parent, @NonNull Map<String, String> mutableRow, com.broadleafcommerce.common.dataimport.messaging.BatchRequest.BatchContext context) We expect theCompleteProductImportBatchHandler
to have pre-fetched variants by various identifier fields if supplied in the original rows.protected com.broadleafcommerce.common.dataimport.util.ConversionUtils.ConversionResponse<ProductAsset>
ProductImageColumnConverter.modifyMappedResponse
(@NonNull Product product, @NonNull com.broadleafcommerce.common.dataimport.messaging.BatchRecord record, @NonNull com.broadleafcommerce.common.dataimport.util.ConversionUtils.ConversionResponse<ProductAsset> response, com.broadleafcommerce.common.dataimport.messaging.BatchRequest.BatchContext context) Simple hook point to allow the modification of the output of the originally mapped responses.protected Product
ProductRowConverter.modifyProduct
(@NonNull Product product, @NonNull com.broadleafcommerce.common.dataimport.messaging.BatchRecord record, com.broadleafcommerce.common.dataimport.messaging.BatchRequest.BatchContext context) Hook point to allow implementers to modify the details of the product or return a different product instance.protected Variant
VariantRowConverter.modifyVariant
(@NonNull Variant variant, @NonNull Product parent, @NonNull com.broadleafcommerce.common.dataimport.messaging.BatchRecord record, com.broadleafcommerce.common.dataimport.messaging.BatchRequest.BatchContext context) Hook point to allow implementers to modify the details of the variant or return a different variant instance.protected void
ProductRowConverter.parseAndSetAttributes
(@NonNull Product product, @NonNull com.broadleafcommerce.data.tracking.core.type.OperationType operationType, @NonNull com.broadleafcommerce.common.dataimport.messaging.BatchRecord record, @NonNull Map<String, String> specialColumns, com.broadleafcommerce.common.dataimport.messaging.BatchRequest.BatchContext context) protected void
ProductRowConverter.parseAndSetCurrency
(@NonNull Product product, @NonNull com.broadleafcommerce.data.tracking.core.type.OperationType operationType, @NonNull com.broadleafcommerce.common.dataimport.messaging.BatchRecord record, @NonNull Map<String, String> mutableRow, com.broadleafcommerce.common.dataimport.messaging.BatchRequest.BatchContext context) Currency is not complex but gets special treatment because we should not mix different currencies in a single Catalog without using the Pricing Service.protected void
ProductRowConverter.parseAndSetFulfillmentFlatRates
(@NonNull Product product, @NonNull com.broadleafcommerce.data.tracking.core.type.OperationType operationType, @NonNull com.broadleafcommerce.common.dataimport.messaging.BatchRecord record, @NonNull Map<String, String> mutableRow, com.broadleafcommerce.common.dataimport.messaging.BatchRequest.BatchContext context) protected void
ProductRowConverter.parseAndSetKeywords
(@NonNull Product product, @NonNull com.broadleafcommerce.data.tracking.core.type.OperationType operationType, @NonNull com.broadleafcommerce.common.dataimport.messaging.BatchRecord record, @NonNull Map<String, String> specialColumns, com.broadleafcommerce.common.dataimport.messaging.BatchRequest.BatchContext context) protected void
ProductRowConverter.parseAndSetOptions
(@NonNull Product product, @NonNull com.broadleafcommerce.data.tracking.core.type.OperationType operationType, @NonNull com.broadleafcommerce.common.dataimport.messaging.BatchRecord record, @NonNull Map<String, String> mutableRow, com.broadleafcommerce.common.dataimport.messaging.BatchRequest.BatchContext context) The syntax we expect for theProductRowConverter.ProductProperties.OPTIONS_HEADER
column is a series of individual option values separated byRowUtils.VALUE_SEPARATOR
.protected void
VariantRowConverter.parseAndSetProductOptionValues
(Product parent, Variant variant, Map<String, String> specialColumns, com.broadleafcommerce.data.tracking.core.type.OperationType operationType) TheProductRowConverter.parseAndSetOptions(Product, OperationType, BatchRecord, Map, BatchContext)
method should have already parsed option values from this variant record (and all others) and used it to populate theAttributeChoice.getAllowedValues()
on theparent
.protected String
ProductRowConverter.resolveProductId
(@NonNull Product product, @NonNull com.broadleafcommerce.common.dataimport.messaging.BatchRecord record, @NonNull com.broadleafcommerce.data.tracking.core.type.OperationType operation, com.broadleafcommerce.common.dataimport.messaging.BatchRequest.BatchContext context) protected void
ProductRowConverter.setProductPricingKeyIfNeeded
(Product product, com.broadleafcommerce.common.dataimport.messaging.BatchRecord productRecord, com.broadleafcommerce.common.dataimport.messaging.BatchRequest.BatchContext context, com.broadleafcommerce.data.tracking.core.type.OperationType operationType) protected void
ProductRowConverter.setProductTypeBasedOnRecord
(Product product, com.broadleafcommerce.common.dataimport.messaging.BatchRecord productRecord, com.broadleafcommerce.common.dataimport.messaging.BatchRequest.BatchContext context, com.broadleafcommerce.data.tracking.core.type.OperationType operationType) SetgetProductType()
based on whether or not the givenBatchRecord
for product has any variants.protected void
ProductRowConverter.setProductUriIfNeeded
(Product product, com.broadleafcommerce.common.dataimport.messaging.BatchRecord productRecord, com.broadleafcommerce.common.dataimport.messaging.BatchRequest.BatchContext context, com.broadleafcommerce.data.tracking.core.type.OperationType operationType) -
Uses of Product in com.broadleafcommerce.catalog.dataimport.prices
Modifier and TypeMethodDescriptionprotected ProductService<Product>
UpdatePricesImportBatchHandler.getProductService()
Modifier and TypeMethodDescriptionprotected void
UpdatePricesImportBatchHandler.applyPricingUpdatesToProduct
(@NonNull Product original, @NonNull Product updateRecord) ModifierConstructorDescriptionUpdatePricesImportBatchHandler
(com.broadleafcommerce.data.tracking.core.web.ContextRequestHydrator hydrator, ProductService<Product> productService, VariantService<Variant> variantService, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Uses of Product in com.broadleafcommerce.catalog.domain
Modifier and TypeMethodDescriptionCategoryProduct.getProduct()
The child product in the relationship.PromotionalCategoryProduct.getPromotionalProduct()
The product to promote.PromotionalProduct.getRelatedProduct()
The underlyingProduct
that is being associated to as the actual promotional product.Modifier and TypeMethodDescriptionvoid
CategoryProduct.setProduct
(Product product) The child product in the relationship.void
PromotionalCategoryProduct.setPromotionalProduct
(Product promotionalProduct) The product to promote.void
PromotionalProduct.setRelatedProduct
(Product relatedProduct) The underlyingProduct
that is being associated to as the actual promotional product. -
Uses of Product in com.broadleafcommerce.catalog.domain.product
Modifier and TypeMethodDescriptionConsolidatedProduct.getProduct()
IncludedProduct.getProduct()
This field contains the specified product if theincluded product type
isIncludedProductType.PRODUCT
.Modifier and TypeMethodDescriptionvoid
ConsolidatedProduct.setProduct
(Product product) void
IncludedProduct.setProduct
(Product product) This field contains the specified product if theincluded product type
isIncludedProductType.PRODUCT
.ModifierConstructorDescriptionConsolidatedProduct
(Product product, List<Variant> variants, CategoryRef primaryCategory, List<CategoryRef> explicitCategories, List<CategoryRef> categories, List<DataDrivenEnum> dataDrivenEnums, Map<String, ProductAsset> optionAssets, String vendorRef, Map<String, String> productSortingWithinCategories, Set<String> catalogOverrides, Set<String> catalogOmissions, Set<String> sandboxOverrides, List<com.broadleafcommerce.translation.domain.Translation> translations, Set<String> marketplaceApplications, boolean archived, String sandboxOwner, boolean hasRequiredOptions, boolean requiredOptionsAvailable, List<AdvancedTagRef> advancedTags) IncludedProduct
(String id, String pricingKey, String type, String label, Long displayOrder, Product product, Variant variant, String variantParentProductId, javax.money.MonetaryAmount overridePrice, boolean discountAllowed, int quantity, com.broadleafcommerce.data.tracking.core.EmbeddedContextState contextState, IncludedProductAsset asset) -
Uses of Product in com.broadleafcommerce.catalog.domain.product.commerce
Modifier and TypeMethodDescriptionProductDetails.getProduct()
ProductSummary.getProduct()
ProductDetailsContext.getResolvedProduct()
The resolved product for theProductDetailsContext.request
.Modifier and TypeMethodDescriptionvoid
ProductDetails.setProduct
(Product product) void
ProductSummary.setProduct
(Product product) void
ProductDetailsContext.setResolvedProduct
(Product resolvedProduct) The resolved product for theProductDetailsContext.request
.ModifierConstructorDescriptionProductDetails
(Product product, List<ProductAsset> assets, List<Breadcrumb> breadcrumbs, List<IncludedProductDetail> includedProducts, List<ProductOptionDetail> options, PriceInfo priceInfo, List<VariantDetail> variants, Set<CategoryRef> parentCategories, Map<String, List<PromotionalProductSummary>> promotionalProducts, String vendorRef, List<ProductTagDetail> advancedTags) ProductDetailsContext
(ProductDetailsRequest request, Product resolvedProduct, Map<String, ItemChoiceCategory> specificCategoryChoices, Map<String, ProductDetails> relatedProducts, List<PromotionalProductSummary> relatedPromotionalProducts, Map<String, List<ProductAsset>> relatedProductAssets, List<DataDrivenEnum> relatedDataDrivenEnums, Map<String, Set<ProductDetails>> relatedCategoryProducts, Map<String, VariantDetail> relatedVariants, Set<CategoryRef> parentCategories, Map<String, List<ProductTag>> relatedProductTags, Map<String, OptionTemplate> relatedOptionTemplates) ProductSummary
(Product product, List<ProductAsset> assets, PriceInfo priceInfo, List<VariantDetail> variants, List<ProductTagDetail> advancedTags) -
Uses of Product in com.broadleafcommerce.catalog.domain.product.option
Modifier and TypeMethodDescriptionItemChoice.getDefaultProduct()
The default product that can be used when driving customer selections if theItemChoice.targetType
isDefaultItemChoiceTargetType.SPECIFIC_PRODUCTS
.ItemChoice.getDefaultProductInCategory()
The default product that can be used when driving customer selections if theItemChoice.targetType
isDefaultItemChoiceTargetType.CATEGORY
.SpecificItemChoice.getProduct()
If theSpecificItemChoice.type
isDefaultSpecificItemChoiceType.PRODUCT
this holds the product for this choiceModifier and TypeMethodDescriptionvoid
ItemChoice.setDefaultProduct
(Product defaultProduct) The default product that can be used when driving customer selections if theItemChoice.targetType
isDefaultItemChoiceTargetType.SPECIFIC_PRODUCTS
.void
ItemChoice.setDefaultProductInCategory
(Product defaultProductInCategory) The default product that can be used when driving customer selections if theItemChoice.targetType
isDefaultItemChoiceTargetType.CATEGORY
.void
SpecificItemChoice.setProduct
(Product product) If theSpecificItemChoice.type
isDefaultSpecificItemChoiceType.PRODUCT
this holds the product for this choice -
Uses of Product in com.broadleafcommerce.catalog.domain.tag
Modifier and TypeMethodDescriptionProductTag.getProduct()
TheVariant
to associate to theProductTag.tag
to.Modifier and TypeMethodDescriptionvoid
ProductTag.setProduct
(Product product) TheVariant
to associate to theProductTag.tag
to. -
Uses of Product in com.broadleafcommerce.catalog.service
Modifier and TypeMethodDescriptionprotected ProductService<Product>
DefaultCategoryProductService.getProductService()
protected ProductService<Product>
DefaultCategoryService.getProductService()
Modifier and TypeMethodDescriptionvoid
DefaultCategoryProductService.setProductService
(ProductService<Product> productService) ModifierConstructorDescriptionDefaultCategoryService
(CategoryRepository<com.broadleafcommerce.data.tracking.core.Trackable> repository, com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityHelper helper, ProductService<Product> productService, CategoryProductService<CategoryProduct> categoryProductService, RSQLEvaluationService rsqlEvaluationService, com.broadleafcommerce.common.extension.cache.CacheStateManager cacheStateManager, com.broadleafcommerce.data.tracking.core.filtering.fetch.FilterParser<cz.jirutka.rsql.parser.ast.Node> parser) -
Uses of Product in com.broadleafcommerce.catalog.service.autoconfigure
Modifier and TypeMethodDescriptionCatalogServiceAutoConfiguration.browseDetailsService
(ProductService<Product> productService, CategoryService<Category> categoryService, ProductDetailsService productDetailsService, CategoryDetailsService categoryDetailsService, com.broadleafcommerce.common.extension.TypeFactory typeFactory) -
Uses of Product in com.broadleafcommerce.catalog.service.bulk
Modifier and TypeMethodDescriptionprotected ProductService<Product>
ProductBulkUpdateProcessor.getProductService()
com.broadleafcommerce.bulk.service.ReadRecordsResponse<Product>
ProductBulkUpdateProcessor.readRecordsToProcess
(com.broadleafcommerce.bulk.domain.BulkUpdate bulkUpdate) Modifier and TypeMethodDescriptionprotected com.broadleafcommerce.bulk.service.BatchProcessResponse
ProductBulkUpdateProcessor.decreasePrice
(List<Product> batchToProcess, String serializedPayload, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) com.broadleafcommerce.bulk.service.BatchProcessResponse
ProductBulkUpdateProcessor.modifyAndPersist
(List<Product> batchToProcess, com.broadleafcommerce.bulk.domain.BulkUpdate bulkUpdate) protected com.broadleafcommerce.bulk.service.BatchProcessResponse
ProductBulkUpdateProcessor.updateAvailability
(List<Product> batchToProcess, String serializedPayload, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) ModifierConstructorDescriptionProductBulkUpdateProcessor
(ProductService<Product> productService, com.broadleafcommerce.common.extension.TypeFactory typeFactory, com.broadleafcommerce.data.tracking.core.filtering.fetch.FilterParser<cz.jirutka.rsql.parser.ast.Node> filterParser, com.fasterxml.jackson.databind.ObjectMapper objectMapper, com.broadleafcommerce.data.tracking.core.web.ContextRequestConverter contextRequestConverter) -
Uses of Product in com.broadleafcommerce.catalog.service.category.commerce.context.contributor
Modifier and TypeMethodDescriptionprotected ProductService<Product>
RelatedProductsCategoryContextContributor.getProductService()
ModifierConstructorDescriptionRelatedProductsCategoryContextContributor
(CategoryProductService<CategoryProduct> categoryProductService, PromotionalCategoryProductService<PromotionalCategoryProduct> promoCategoryProductService, ProductService<Product> productService, com.broadleafcommerce.common.extension.TypeFactory typeFactory, com.broadleafcommerce.common.extension.cache.CacheStateManager cacheStateManager) -
Uses of Product in com.broadleafcommerce.catalog.service.commerce
Modifier and TypeMethodDescriptionprotected ProductService<Product>
DefaultBrowseDetailsService.getProductService()
Modifier and TypeMethodDescriptionprotected ProductDetailsList
DefaultBrowseDetailsService.getProductDetails
(@NonNull BrowseDetailsRequest request, @NonNull List<Product> products, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Gets theProductDetailsList
for the resolvedproducts
ModifierConstructorDescriptionDefaultBrowseDetailsService
(ProductService<Product> productService, CategoryService<Category> categoryService, ProductDetailsService productDetailsService, CategoryDetailsService categoryDetailsService, com.broadleafcommerce.common.extension.TypeFactory typeFactory) -
Uses of Product in com.broadleafcommerce.catalog.service.product
Modifier and TypeClassDescriptionclass
DefaultOptionGenerationService<P extends Product>
class
DefaultProductService<P extends Product>
interface
OptionGenerationService<P extends Product>
Service responsible for generation aProduct's options
from anOptionTemplate
orOptionTemplateGroup
.interface
ProductService<P extends Product>
Modifier and TypeMethodDescriptionprotected ProductService<Product>
SkuGenerationService.getProductSvc()
Modifier and TypeMethodDescriptionprotected P
SkuGenerationService.buildVariant
(String skuPrefix, Set<ProductOptionValueCombination> valuesCombination, Product product) DefaultOptionGenerationService.copyOptionsFromTemplates
(@NonNull Product product, @NonNull List<OptionTemplate> templates) Deprecated, for removal: This API element is subject to removal in a future version.DefaultOptionGenerationService.copyOptionsFromTemplatesToProduct
(@NonNull Product product, @NonNull List<OptionTemplate> templates) protected com.broadleafcommerce.translation.domain.Translation
DefaultOptionGenerationService.copyTemplateTranslation
(@NonNull com.broadleafcommerce.translation.domain.Translation translation, Product product, String optionId) Copies the givenTranslation
from anOptionTemplate
and updates its entity fields to point to the given product.protected void
DefaultOptionGenerationService.copyTranslationsFromTemplates
(Product product, @NonNull Map<String, String> copiedOptionIdByTemplateId, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Copies theTranslations
of theOptionTemplates
whose IDs are supplied onto theProduct
for itsProductOptions
.SkuGenerationService.createAndSaveVariants
(List<Set<ProductOptionValueCombination>> combinationsToCreate, Product product, String skuCodePrefix, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected String
SkuGenerationService.generateVariantName
(Product product, Set<ProductOptionValueCombination> valuesCombination) Extension point to customize the variant names that are generatedModifierConstructorDescriptionSkuGenerationService
(VariantService<Variant> variantSvc, ProductService<Product> productSvc, ProductOptionValueCombinationService combinationSvc, com.broadleafcommerce.common.extension.TypeFactory typeFactory, org.springframework.transaction.support.TransactionTemplate template) -
Uses of Product in com.broadleafcommerce.catalog.service.product.commerce
Modifier and TypeMethodDescriptionprotected ProductService<Product>
DefaultProductDetailsService.getProductService()
DefaultProductDetailsService.getProductsForUris
(Set<String> productUris, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected BinaryOperator<Product>
DefaultProductDetailsService.mergeProductsWithSameUris()
DefaultProductDetailsService.mergeProductsWithSameUris
(List<Product> products) DefaultProductDetailsService.resolveProducts
(@NonNull ProductDetailsRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Resolves the base product for the given requests.Modifier and TypeMethodDescriptionDefaultProductDetailsService.getDetailsForProducts
(Collection<? extends Product> products, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) ProductDetailsService.getDetailsForProducts
(Collection<? extends Product> products, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Gets theProductDetailsList
for the providedproducts
.DefaultProductDetailsService.mergeProductsWithSameUris
(List<Product> products) ModifierConstructorDescriptionDefaultProductDetailsService
(List<ProductDetailsContributor> detailsContributors, List<ProductDetailsContextContributor> contextContributors, List<ProductDetailsContextConsolidator> contextConsolidators, ProductService<Product> productService, ProductAssetService<ProductAsset> productAssetService, ProductTagService<ProductTag> productTagService, com.broadleafcommerce.common.extension.TypeFactory typeFactory) -
Uses of Product in com.broadleafcommerce.catalog.service.product.commerce.context.consolidator
Modifier and TypeMethodDescriptionprotected void
RelatedOptionTemplatesProductContextConsolidator.hydrateTemplateOntoProduct
(OptionTemplate optionTemplate, Product relatedProduct) -
Uses of Product in com.broadleafcommerce.catalog.service.product.commerce.context.contributor
Modifier and TypeMethodDescriptionprotected ProductService<Product>
ItemChoiceHierarchyProductContextContributor.getProductService()
protected ProductService<Product>
RelatedProductsProductContextContributor.getProductService()
Modifier and TypeMethodDescriptionprotected void
RelatedDataDrivenEnumsProductContextContributor.addDataDrivenEnumIdsForProduct
(Product product, Map<String, Set<String>> enumIdsByProductId) protected Set<ProductDetails>
ItemChoiceHierarchyProductContextContributor.buildProductDetailsMap
(ProductDetailsContext productDetailsContext, Product product) Filters through the category and product options to collect the next set ofProductDetails
.ItemChoiceHierarchyProductContextContributor.filterCategoryIdsToQuery
(ProductDetailsContext productDetailsContext, Product product) Filters the category IDs to the ones not currently in the specific category choices.ItemChoiceHierarchyProductContextContributor.filterOptionTemplateIdsToQuery
(ProductDetailsContext productDetailsContext, Product product) Filters the option template IDs to the ones not currently in the related option templates.ItemChoiceHierarchyProductContextContributor.filterProductIdsToQuery
(ProductDetailsContext productDetailsContext, Product product) Filters the product IDs to the ones not currently in the related products.ItemChoiceHierarchyProductContextContributor.filterVariantIdsToQuery
(ProductDetailsContext productDetailsContext, Product product) Filters the variant IDs to the ones not currently in the related products.Modifier and TypeMethodDescriptionRelatedProductsProductContextContributor.getCategoryToProductMapToContribute
(@NonNull Collection<? extends ProductDetailsContext> productDetailsContexts, @NonNull List<Product> resolvedProducts, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Collects the IDs of all the products related to theresolved products
through related CategoryProducts.RelatedProductsProductContextContributor.getIncludedProductIdsToContribute
(@NonNull List<Product> resolvedProducts) Gets the set of product IDs from relatedIncludedProducts
.RelatedProductsProductContextContributor.getSpecificChoiceProductsIdsToContribute
(@NonNull List<Product> resolvedProducts) Gets the set of product IDs from relatedSpecificItemChoice
.ModifierConstructorDescriptionItemChoiceHierarchyProductContextContributor
(CategoryProductService<CategoryProduct> categoryProductService, ProductService<Product> productService, VariantService<Variant> variantService, CategoryService<Category> categoryService, CatalogServiceProperties properties, com.broadleafcommerce.common.extension.TypeFactory typeFactory) RelatedProductsProductContextContributor
(CategoryProductService<CategoryProduct> categoryProductService, ProductService<Product> productService, com.broadleafcommerce.common.extension.TypeFactory typeFactory, com.broadleafcommerce.data.tracking.core.filtering.fetch.rsql.RSQLFilterParser rsqlFilterParser) -
Uses of Product in com.broadleafcommerce.catalog.service.product.consolidation
Modifier and TypeMethodDescriptionprotected ProductService<Product>
ItemChoiceAvailabilityConsolidationContributor.getProductService()
protected ProductService<Product>
TranslationProductConsolidationContributor.getProductService()
protected ProductService<Product>
DefaultProductConsolidationService.getProductSvc()
Modifier and TypeMethodDescriptionprotected List<ConsolidatedProduct>
DefaultProductConsolidationService.consolidateProducts
(List<Product> products, com.broadleafcommerce.data.tracking.core.tenant.domain.InheritanceLines inheritanceLines, Map<String, com.broadleafcommerce.data.tracking.core.tenant.domain.Catalog> catalogsById, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Consolidate products with their related domain and translations.DefaultProductConsolidationService.getBaseCatalogIds
(List<Product> products) DefaultProductConsolidationService.getOverrideCatalogIds
(List<Product> products) ModifierConstructorDescriptionDefaultConsolidatedProductPostProcessor
(List<ConsolidatedProduct> products, ProductService<Product> productService, cz.jirutka.rsql.parser.ast.Node filters, com.broadleafcommerce.data.tracking.core.tenant.domain.InheritanceLines inheritanceLines, Map<String, Set<String>> marketplaceApplicationsForCatalogs) DefaultProductConsolidationService
(List<ProductConsolidationContributor> productConsolidationContributors, ProductService<Product> productSvc, com.broadleafcommerce.common.extension.TypeFactory typeFactory, com.broadleafcommerce.data.tracking.core.tenant.service.CommonCatalogService<com.broadleafcommerce.data.tracking.core.tenant.domain.Catalog> catalogService, com.broadleafcommerce.data.tracking.core.marketplace.service.CommonMarketplaceApplicationCatalogService<com.broadleafcommerce.data.tracking.core.tenant.domain.MarketplaceApplicationCatalog> marketplaceApplicationCatalogService, cz.jirutka.rsql.parser.RSQLParser rsqlParser) ItemChoiceAvailabilityConsolidationContributor
(ProductService<Product> productService, CategoryProductService<CategoryProduct> categoryProductService, CategoryService<Category> categoryService, com.broadleafcommerce.data.tracking.core.filtering.fetch.rsql.RSQLFilterParser rsqlFilterParser) TranslationProductConsolidationContributor
(com.broadleafcommerce.translation.service.TranslationEntityService<com.broadleafcommerce.translation.domain.Translation> translationEntityService, ProductService<Product> productService, VariantService<Variant> variantService, ProductAssetService<ProductAsset> productAssetService, CategoryService<Category> categoryService, com.broadleafcommerce.common.extension.TypeFactory typeFactory) -
Uses of Product in com.broadleafcommerce.catalog.service.product.hydration
Modifier and TypeMethodDescriptionprotected Product
DefaultProductHydrationService.applyHydration
(Product product, ResolvedProductReferences foundItems) Traverses through theproduct
and replaces each item reference with the fully-populated representation of the reference as found infoundItems
.DefaultProductHydrationService.hydrate
(@NonNull Product unhydrated, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) ProductHydrationService.hydrate
(Product unhydrated, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Gets the IDs of items that are referenced by theunhydrated
product, finds the referenced items in the data store, and then replaces each item reference on the product with the fully-populated representation of the item.Modifier and TypeMethodDescriptionResolvedProductReferences.getProductsById()
Contains the results of querying forProductReferences.productIdsToFind
.protected ProductService<Product>
DefaultProductHydrationService.getProductService()
org.springframework.data.domain.Page<Product>
DefaultProductHydrationService.hydrate
(@NonNull org.springframework.data.domain.Page<Product> unhydrated, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) org.springframework.data.domain.Page<Product>
ProductHydrationService.hydrate
(org.springframework.data.domain.Page<Product> unhydrated, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Gets the IDs of items that are referenced by each product, finds the referenced items in the data store, and then replaces each item reference on the product with the fully-populated representation of the item.org.springframework.data.domain.Page<Product>
DefaultProductHydrationService.hydratePrimaryAssets
(org.springframework.data.domain.Page<Product> unhydrated, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) org.springframework.data.domain.Page<Product>
ProductHydrationService.hydratePrimaryAssets
(org.springframework.data.domain.Page<Product> unhydrated, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Specifically finds and hydrates theprimaryAsset
of each product in the given page.Modifier and TypeMethodDescriptionprotected Product
DefaultProductHydrationService.applyHydration
(Product product, ResolvedProductReferences foundItems) Traverses through theproduct
and replaces each item reference with the fully-populated representation of the reference as found infoundItems
.protected void
DefaultProductHydrationService.determineReferences
(Product product, ProductReferences references) Traverses through theproduct
and populates thereferences
with each referenced ID.DefaultProductHydrationService.hydrate
(@NonNull Product unhydrated, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) ProductHydrationService.hydrate
(Product unhydrated, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Gets the IDs of items that are referenced by theunhydrated
product, finds the referenced items in the data store, and then replaces each item reference on the product with the fully-populated representation of the item.protected void
DefaultProductHydrationService.setProductDataDrivenEnumFieldsIfFound
(Product product, ResolvedProductReferences foundItems) protected void
DefaultProductHydrationService.setProductPrimaryAssetIfFound
(Product product, ResolvedProductReferences foundItems) protected void
DefaultProductHydrationService.setProductPrimaryCategoryIfFound
(Product product, ResolvedProductReferences foundItems) Modifier and TypeMethodDescriptionorg.springframework.data.domain.Page<Product>
DefaultProductHydrationService.hydrate
(@NonNull org.springframework.data.domain.Page<Product> unhydrated, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) org.springframework.data.domain.Page<Product>
ProductHydrationService.hydrate
(org.springframework.data.domain.Page<Product> unhydrated, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Gets the IDs of items that are referenced by each product, finds the referenced items in the data store, and then replaces each item reference on the product with the fully-populated representation of the item.org.springframework.data.domain.Page<Product>
DefaultProductHydrationService.hydratePrimaryAssets
(org.springframework.data.domain.Page<Product> unhydrated, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) org.springframework.data.domain.Page<Product>
ProductHydrationService.hydratePrimaryAssets
(org.springframework.data.domain.Page<Product> unhydrated, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Specifically finds and hydrates theprimaryAsset
of each product in the given page.void
ResolvedProductReferences.setProductsById
(Map<String, Product> productsById) Contains the results of querying forProductReferences.productIdsToFind
.ModifierConstructorDescriptionDefaultProductHydrationService
(ProductService<Product> productService, ProductAssetService<ProductAsset> productAssetService, VariantService<Variant> variantService, CategoryService<Category> categoryService, CategoryProductService<CategoryProduct> categoryProductService, DataDrivenEnumService<DataDrivenEnum> dataDrivenEnumService, OptionTemplateService<OptionTemplate> optionTemplateService, com.broadleafcommerce.common.extension.TypeFactory typeFactory) -
Uses of Product in com.broadleafcommerce.catalog.service.product.relation
Modifier and TypeMethodDescriptionprotected ProductService<Product>
DefaultPromotionalProductService.getProductService()
ModifierConstructorDescriptionDefaultPromotionalProductService
(PromotionalProductRepository<com.broadleafcommerce.data.tracking.core.Trackable> repository, com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityHelper helper, ProductService<Product> productSvc, com.broadleafcommerce.common.extension.cache.CacheStateManager cacheStateManager) -
Uses of Product in com.broadleafcommerce.catalog.service.rsql
Modifier and TypeClassDescriptionclass
DefaultRSQLEvaluationService<P extends Product>
interface
RSQLEvaluationService<P extends Product>
Service to parse RSQL Nodes and evaluate the query rules against a product. -
Uses of Product in com.broadleafcommerce.catalog.service.tag
Modifier and TypeMethodDescriptionprotected ProductService<Product>
DefaultProductTagService.getProductService()
ModifierConstructorDescriptionDefaultProductTagService
(ProductTagRepository<com.broadleafcommerce.data.tracking.core.Trackable> repository, com.broadleafcommerce.data.tracking.core.service.RsqlCrudEntityHelper helper, AdvancedTagService<AdvancedTag> advancedTagService, ProductService<Product> productService, VariantService<Variant> variantService) -
Uses of Product in com.broadleafcommerce.catalog.service.util.commerce
Modifier and TypeMethodDescriptionPriceInfoContributionUtils.createPriceInfoForProduct
(@NonNull Product product) PriceInfoContributionUtils.createPriceInfoForVariant
(@NonNull Variant variant, Product parentProduct) -
Uses of Product in com.broadleafcommerce.catalog.service.validation
Modifier and TypeMethodDescriptionprotected Product
ProductValidator.getExistingProduct
(Product product, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) protected Product
VariantValidator.validateProductId
(Variant variant, org.springframework.validation.Errors errors, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Validates thatVariant.getProductId()
is present and ensures the product exists in the data store.Modifier and TypeMethodDescriptionprotected ProductService<Product>
ProductAssetValidator.getProductService()
protected ProductService<Product>
ProductOptionValidator.getProductService()
protected ProductService<Product>
ProductValidator.getProductService()
protected ProductService<Product>
VariantValidator.getProductService()
Modifier and TypeMethodDescriptionVariantValidator.getAllowedOptionValuesByAttrName
(Product referencedProduct) protected Product
ProductValidator.getExistingProduct
(Product product, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) protected void
VariantValidator.hydrateOptionTemplates
(@NonNull Product product, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Hydrate any product options that were added by reference from option templates to ensure that validation takes all the necessary info into account.protected javax.money.CurrencyUnit
ProductValidator.resolveCurrencyForValidation
(Product product, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) First, we take what is on the product.protected void
ProductValidator.validateActiveEndDate
(Product businessInstance, org.springframework.validation.Errors errors) protected void
ProductValidator.validateActiveStartDate
(Product businessInstance, org.springframework.validation.Errors errors) protected void
ProductValidator.validateCost
(Product businessInstance, javax.money.CurrencyUnit expectedCurrency, org.springframework.validation.Errors errors) protected void
ProductValidator.validateDefaultPrice
(Product businessInstance, javax.money.CurrencyUnit expectedCurrency, org.springframework.validation.Errors errors) protected void
VariantValidator.validateDefaultPrice
(Variant variant, Product referencedProduct, javax.money.CurrencyUnit expectedCurrency, org.springframework.validation.Errors errors) protected void
ProductValidator.validateIncludedProducts
(Product businessInstance, org.springframework.validation.Errors errors, javax.money.CurrencyUnit expectedCurrency, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Validates that the product type of the owning product isDefaultProductType.BUNDLE
if it has included products.protected void
ProductValidator.validateMsrp
(Product businessInstance, javax.money.CurrencyUnit expectedCurrency, org.springframework.validation.Errors errors) protected void
ProductValidator.validateOptions
(Product businessInstance, org.springframework.validation.Errors errors, javax.money.CurrencyUnit expectedCurrency, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) protected void
VariantValidator.validateOptions
(Variant variant, Product referencedProduct, org.springframework.validation.Errors errors) protected void
ProductValidator.validatePrimaryCategory
(Product businessInstance, org.springframework.validation.Errors errors, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected void
ProductValidator.validateProductFields
(Product businessInstance, org.springframework.validation.Errors errors, javax.money.CurrencyUnit expectedCurrency, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Validates the product fields based on common constraints of differentproduct types
, such asgetName()
,getActiveStartDate()
, etc.protected void
ProductValidator.validateProductType
(Product product, org.springframework.validation.Errors errors, Product existingProduct) protected void
VariantValidator.validateProductType
(Product referencedProduct, org.springframework.validation.Errors errors) Validates that thereferenced product's product type
isVARIANT_BASED
as only VARIANT_BASED products can have variants.protected void
ProductValidator.validateSalePrice
(Product businessInstance, javax.money.CurrencyUnit expectedCurrency, org.springframework.validation.Errors errors) protected void
ProductValidator.validateThreshold
(Product businessInstance, org.springframework.validation.Errors errors) protected void
VariantValidator.validateThresholds
(Variant variant, Product referencedProduct, org.springframework.validation.Errors errors) protected void
ProductValidator.validateUrl
(Product businessInstance, org.springframework.validation.Errors errors, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) protected void
VariantValidator.validateVariantOptionValues
(Map<String, String> variantOptionValues, Product referencedProduct, org.springframework.validation.Errors errors) Modifier and TypeMethodDescriptionvoid
ProductAssetValidator.setProductService
(ProductService<Product> productService) Lazy injection since this validator is itself a service component.void
ProductOptionValidator.setProductService
(ProductService<Product> productService) Lazy injection since this validator is itself a service component.void
ProductValidator.setProductService
(ProductService<Product> productService) Lazy injection since this validator is itself a service component.void
VariantValidator.setProductService
(ProductService<Product> productService) Lazy injection since this validator is itself a service component. -
Uses of Product in com.broadleafcommerce.catalog.service.validation.product.type
Modifier and TypeMethodDescriptionboolean
DefaultBundleProductTypeValidator.canValidateCreate
(Product product) boolean
DefaultSelectorProductTypeValidator.canValidateCreate
(Product product) boolean
DefaultStandardProductTypeValidator.canValidateCreate
(Product product) boolean
DefaultVariantBasedProductTypeValidator.canValidateCreate
(Product product) default boolean
ProductTypeValidator.canValidateCreate
(Product product) Whether or not this validator supports validation to create this product.boolean
DefaultBundleProductTypeValidator.canValidateReplace
(Product product, Product existingProduct) boolean
DefaultSelectorProductTypeValidator.canValidateReplace
(Product product, Product existingProduct) boolean
DefaultStandardProductTypeValidator.canValidateReplace
(Product product, Product existingProduct) boolean
DefaultVariantBasedProductTypeValidator.canValidateReplace
(Product product, Product existingProduct) default boolean
ProductTypeValidator.canValidateReplace
(Product product, Product existingProduct) Whether or not this validator supports validation to replace this product.boolean
DefaultBundleProductTypeValidator.canValidateUpdate
(Product product, Product existingProduct) boolean
DefaultSelectorProductTypeValidator.canValidateUpdate
(Product product, Product existingProduct) boolean
DefaultStandardProductTypeValidator.canValidateUpdate
(Product product, Product existingProduct) boolean
DefaultVariantBasedProductTypeValidator.canValidateUpdate
(Product product, Product existingProduct) default boolean
ProductTypeValidator.canValidateUpdate
(Product product, Product existingProduct) Whether or not this validator supports validation to update this product.protected void
DefaultBundleProductTypeValidator.validateBundleProductOptions
(Product product, String productType, org.springframework.validation.Errors errors) TheDefaultProductType.BUNDLE
product can't have theDefaultProductOptionType.VARIANT_DISTINGUISHING
options.default void
ProductTypeValidator.validateDefaultPrice
(Product product, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, org.springframework.validation.Errors errors) Default method to validate against missing default price and currency mismatch.protected void
DefaultSelectorProductTypeValidator.validateIncludedProducts
(Product businessInstance, org.springframework.validation.Errors errors) protected void
DefaultStandardProductTypeValidator.validateIncludedProducts
(Product businessInstance, org.springframework.validation.Errors errors) protected void
DefaultVariantBasedProductTypeValidator.validateIncludedProducts
(Product businessInstance, org.springframework.validation.Errors errors) protected void
DefaultSelectorProductTypeValidator.validateInventoryFields
(Product businessInstance, org.springframework.validation.Errors errors) protected void
DefaultSelectorProductTypeValidator.validatePricingFields
(Product businessInstance, org.springframework.validation.Errors errors) protected void
DefaultBundleProductTypeValidator.validateProductFields
(Product product, org.springframework.validation.Errors errors, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) protected void
DefaultStandardProductTypeValidator.validateProductFields
(Product product, org.springframework.validation.Errors errors, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) void
DefaultBundleProductTypeValidator.validateProductForCreate
(Product product, org.springframework.validation.Errors errors, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) void
DefaultSelectorProductTypeValidator.validateProductForCreate
(Product product, org.springframework.validation.Errors errors, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) void
DefaultStandardProductTypeValidator.validateProductForCreate
(Product product, org.springframework.validation.Errors errors, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) void
DefaultVariantBasedProductTypeValidator.validateProductForCreate
(Product product, org.springframework.validation.Errors errors, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) void
ProductTypeValidator.validateProductForCreate
(Product product, org.springframework.validation.Errors errors, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Validate the product for create.void
DefaultBundleProductTypeValidator.validateProductForReplace
(Product product, org.springframework.validation.Errors errors, Product existingProduct, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) void
DefaultSelectorProductTypeValidator.validateProductForReplace
(Product product, org.springframework.validation.Errors errors, Product existingProduct, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) void
DefaultStandardProductTypeValidator.validateProductForReplace
(Product product, org.springframework.validation.Errors errors, Product existingProduct, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) void
DefaultVariantBasedProductTypeValidator.validateProductForReplace
(Product product, org.springframework.validation.Errors errors, Product existingProduct, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) void
ProductTypeValidator.validateProductForReplace
(Product product, org.springframework.validation.Errors errors, Product existingProduct, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Validate the product for replace.void
DefaultBundleProductTypeValidator.validateProductForUpdate
(Product product, org.springframework.validation.Errors errors, Product existingProduct, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) void
DefaultSelectorProductTypeValidator.validateProductForUpdate
(Product product, org.springframework.validation.Errors errors, Product existingProduct, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) void
DefaultStandardProductTypeValidator.validateProductForUpdate
(Product product, org.springframework.validation.Errors errors, Product existingProduct, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) void
DefaultVariantBasedProductTypeValidator.validateProductForUpdate
(Product product, org.springframework.validation.Errors errors, Product existingProduct, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) void
ProductTypeValidator.validateProductForUpdate
(Product product, org.springframework.validation.Errors errors, Product existingProduct, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) Validate the product for update.protected void
DefaultSelectorProductTypeValidator.validateProductOptions
(Product businessInstance, org.springframework.validation.Errors errors) protected void
DefaultStandardProductTypeValidator.validateProductOptions
(Product businessInstance, org.springframework.validation.Errors errors) protected void
DefaultSelectorProductTypeValidator.validateSearchable
(Product businessInstance, org.springframework.validation.Errors errors) protected void
DefaultSelectorProductTypeValidator.validateSelectorProductFields
(Product product, org.springframework.validation.Errors errors, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) protected void
DefaultSelectorProductTypeValidator.validateSku
(Product product, org.springframework.validation.Errors errors) protected void
DefaultVariantBasedProductTypeValidator.validateVariant
(Variant variant, Product product, org.springframework.validation.Errors errors) protected void
DefaultVariantBasedProductTypeValidator.validateVariants
(Product businessInstance, org.springframework.validation.Errors errors, com.broadleafcommerce.data.tracking.core.context.ContextInfo context) -
Uses of Product in com.broadleafcommerce.catalog.web.endpoint
Modifier and TypeMethodDescriptionProductEndpoint.cloneProduct
(com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String productId, CloneProductRequest cloneProductRequest) ProductEndpoint.createProduct
(javax.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, Product req) ProductEndpoint.generateOptionsFromTemplates
(javax.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id, OptionGenerationRequest optionGenerationRequest) ProductEndpoint.readProductById
(javax.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String productId) ProductEndpoint.replaceProduct
(javax.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id, Product req) ProductEndpoint.updateProduct
(javax.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id, Product req) Modifier and TypeMethodDescriptionprotected org.apache.commons.lang3.tuple.Pair<Product,
ProductTag> ProductTagProductEndpoint.findWithRelatedProduct
(String productId, String productTagId, String operationType, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Finds theProductTag
and itsProduct
.protected CloneProductService<Product,
CloneProductRequest> ProductEndpoint.getCloneProductSvc()
protected OptionGenerationService<Product>
ProductEndpoint.getOptionGenerationService()
protected ProductService<Product>
CategoryEndpoint.getProductService()
protected ProductService<Product>
ProductAssetEndpoint.getProductService()
protected ProductService<Product>
ProductTagProductEndpoint.getProductService()
protected ProductService<Product>
ProductTagTagEndpoint.getProductService()
protected ProductService<Product>
ProductTagVariantEndpoint.getProductService()
protected ProductService<Product>
ProductEndpoint.getProductSvc()
org.springframework.data.domain.Page<Product>
ProductEndpoint.readAllProducts
(com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String query, boolean hydratePrimaryAssets, cz.jirutka.rsql.parser.ast.Node filters, org.springframework.data.domain.Pageable page) Modifier and TypeMethodDescriptionProductEndpoint.createProduct
(javax.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, Product req) ProductEndpoint.replaceProduct
(javax.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id, Product req) ProductEndpoint.updateProduct
(javax.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo context, String id, Product req) ModifierConstructorDescriptionCategoryEndpoint
(CategoryService<Category> categoryService, CategoryAncestryHydrationService categoryAncestryHydrationService, PromotionalCategoryProductService<PromotionalCategoryProduct> promotionalCategoryProductService, ProductService<Product> productService, ProductAssetService<ProductAsset> productAssetService, CategoryProductService<CategoryProduct> categoryProductService, com.broadleafcommerce.common.extension.TypeFactory catalogFactory, com.broadleafcommerce.translation.service.TranslationEntityService<com.broadleafcommerce.translation.domain.Translation> translationEntityService, CloneCategoryService<Category, CloneCategoryRequest> cloneCategorySvc, com.broadleafcommerce.data.tracking.core.filtering.fetch.FilterParser<cz.jirutka.rsql.parser.ast.Node> parser) ProductAssetEndpoint
(ProductAssetService<ProductAsset> productAssetService, ProductService<Product> productService, com.broadleafcommerce.translation.service.TranslationEntityService<com.broadleafcommerce.translation.domain.Translation> translationEntityService) ProductEndpoint
(ProductService<Product> productSvc, CloneProductService<Product, CloneProductRequest> cloneProductSvc, SkuGenerationService<Variant> skuGenerationSvc, PromotionalProductService<PromotionalProduct> promotionalProductSvc, CategoryService<Category> categoryService, com.broadleafcommerce.translation.service.TranslationEntityService<com.broadleafcommerce.translation.domain.Translation> translationEntityService, CategoryProductService<CategoryProduct> categoryProductService, com.broadleafcommerce.bulk.service.BulkUpdateManager bulkUpdateManager, com.broadleafcommerce.bulk.service.BulkUpdateService<com.broadleafcommerce.bulk.domain.BulkUpdate> bulkUpdateService, com.broadleafcommerce.common.extension.TypeFactory catalogFactory, ProductConsolidationService productConsolidationService, ProductHydrationService productHydrationService, OptionGenerationService<Product> optionGenerationService, com.broadleafcommerce.data.tracking.core.filtering.fetch.rsql.web.RsqlFilterHandlerMethodArgumentResolver rsqlResolver) ProductEndpoint
(ProductService<Product> productSvc, CloneProductService<Product, CloneProductRequest> cloneProductSvc, SkuGenerationService<Variant> skuGenerationSvc, PromotionalProductService<PromotionalProduct> promotionalProductSvc, CategoryService<Category> categoryService, com.broadleafcommerce.translation.service.TranslationEntityService<com.broadleafcommerce.translation.domain.Translation> translationEntityService, CategoryProductService<CategoryProduct> categoryProductService, com.broadleafcommerce.bulk.service.BulkUpdateManager bulkUpdateManager, com.broadleafcommerce.bulk.service.BulkUpdateService<com.broadleafcommerce.bulk.domain.BulkUpdate> bulkUpdateService, com.broadleafcommerce.common.extension.TypeFactory catalogFactory, ProductConsolidationService productConsolidationService, ProductHydrationService productHydrationService, OptionGenerationService<Product> optionGenerationService, com.broadleafcommerce.data.tracking.core.filtering.fetch.rsql.web.RsqlFilterHandlerMethodArgumentResolver rsqlResolver) ProductEndpoint
(ProductService<Product> productSvc, CloneProductService<Product, CloneProductRequest> cloneProductSvc, SkuGenerationService<Variant> skuGenerationSvc, PromotionalProductService<PromotionalProduct> promotionalProductSvc, CategoryService<Category> categoryService, com.broadleafcommerce.translation.service.TranslationEntityService<com.broadleafcommerce.translation.domain.Translation> translationEntityService, CategoryProductService<CategoryProduct> categoryProductService, com.broadleafcommerce.bulk.service.BulkUpdateManager bulkUpdateManager, com.broadleafcommerce.bulk.service.BulkUpdateService<com.broadleafcommerce.bulk.domain.BulkUpdate> bulkUpdateService, com.broadleafcommerce.common.extension.TypeFactory catalogFactory, ProductConsolidationService productConsolidationService, ProductHydrationService productHydrationService, OptionGenerationService<Product> optionGenerationService, com.broadleafcommerce.data.tracking.core.filtering.fetch.rsql.web.RsqlFilterHandlerMethodArgumentResolver rsqlResolver) ProductTagProductEndpoint
(ProductService<Product> productService, AdvancedTagService<AdvancedTag> tagService, ProductTagService<ProductTag> productTagService, com.broadleafcommerce.translation.service.TranslationEntityService<com.broadleafcommerce.translation.domain.Translation> translationEntityService) ProductTagTagEndpoint
(ProductService<Product> productService, AdvancedTagService<AdvancedTag> tagService, ProductTagService<ProductTag> productTagService, com.broadleafcommerce.translation.service.TranslationEntityService<com.broadleafcommerce.translation.domain.Translation> translationEntityService, com.broadleafcommerce.data.tracking.core.web.ContextRequestHydrator hydrator, com.broadleafcommerce.common.extension.TypeFactory typeFactory) ProductTagVariantEndpoint
(VariantService<Variant> variantService, ProductService<Product> productService, AdvancedTagService<AdvancedTag> tagService, ProductTagService<ProductTag> productTagService, com.broadleafcommerce.translation.service.TranslationEntityService<com.broadleafcommerce.translation.domain.Translation> translationEntityService)
DefaultOptionGenerationService.copyOptionsFromTemplatesToProduct(Product, List)
.