RelatedProductsVariableExpression@Component(value="blRelatedProductProcessor") @ConditionalOnTemplating @Deprecated public class RelatedProductProcessor extends org.broadleafcommerce.presentation.dialect.AbstractBroadleafVariableModifierProcessor
| Modifier and Type | Field and Description |
|---|---|
protected RelatedProductsService |
relatedProductsService
Deprecated.
|
protected boolean |
useSku
Deprecated.
|
| Constructor and Description |
|---|
RelatedProductProcessor()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected List<Product> |
buildProductList(List<? extends PromotableProduct> relatedProducts)
Deprecated.
|
protected List<Product> |
convertRelatedProductsToProducts(List<? extends PromotableProduct> relatedProducts)
Deprecated.
|
List<String> |
getCollectionModelVariableNamesToAddTo()
Deprecated.
|
String |
getName()
Deprecated.
|
int |
getPrecedence()
Deprecated.
|
protected List<Sku> |
getRelatedSkus(List<? extends PromotableProduct> relatedProducts,
Integer maxQuantity)
Deprecated.
|
Map<String,Object> |
populateModelVariables(String tagName,
Map<String,String> tagAttributes,
org.broadleafcommerce.presentation.model.BroadleafTemplateContext context)
Deprecated.
Controller method for the processor that readies the service call and adds the results to the model.
|
@Value(value="${solr.index.use.sku}")
protected boolean useSku
protected RelatedProductsService relatedProductsService
public String getName()
public int getPrecedence()
getPrecedence in interface org.broadleafcommerce.presentation.dialect.BroadleafProcessorgetPrecedence in class org.broadleafcommerce.presentation.dialect.AbstractBroadleafVariableModifierProcessorpublic List<String> getCollectionModelVariableNamesToAddTo()
getCollectionModelVariableNamesToAddTo in interface org.broadleafcommerce.presentation.dialect.BroadleafVariableModifierProcessorgetCollectionModelVariableNamesToAddTo in class org.broadleafcommerce.presentation.dialect.AbstractBroadleafVariableModifierProcessorpublic Map<String,Object> populateModelVariables(String tagName, Map<String,String> tagAttributes, org.broadleafcommerce.presentation.model.BroadleafTemplateContext context)
protected List<Product> buildProductList(List<? extends PromotableProduct> relatedProducts)
protected List<Sku> getRelatedSkus(List<? extends PromotableProduct> relatedProducts, Integer maxQuantity)
protected List<Product> convertRelatedProductsToProducts(List<? extends PromotableProduct> relatedProducts)
Copyright © 2017. All rights reserved.