@Component(value="blProductOptionDisplayProcessor")
@ConditionalOnTemplating
public class ProductOptionDisplayProcessor
extends org.broadleafcommerce.presentation.dialect.AbstractBroadleafVariableModifierProcessor
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
ProductOptionDisplayProcessor() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
int |
getPrecedence() |
Map<String,Object> |
populateModelVariables(String tagName,
Map<String,String> tagAttributes,
org.broadleafcommerce.presentation.model.BroadleafTemplateContext context) |
protected String |
translateItemAttributeValue(OrderItemAttribute itemAttribute,
ProductOption productOption)
Attempts to translate an itemAttribute's value based on the translation provided by a ProductOptionValue
which has its rawAttributeValue = itemAttribute's value.
|
boolean |
useGlobalScope() |
public String getName()
public int getPrecedence()
getPrecedence in interface org.broadleafcommerce.presentation.dialect.BroadleafProcessorgetPrecedence in class org.broadleafcommerce.presentation.dialect.AbstractBroadleafVariableModifierProcessorpublic boolean useGlobalScope()
useGlobalScope in interface org.broadleafcommerce.presentation.dialect.BroadleafVariableModifierProcessoruseGlobalScope in class org.broadleafcommerce.presentation.dialect.AbstractBroadleafVariableModifierProcessorpublic Map<String,Object> populateModelVariables(String tagName, Map<String,String> tagAttributes, org.broadleafcommerce.presentation.model.BroadleafTemplateContext context)
protected String translateItemAttributeValue(OrderItemAttribute itemAttribute, ProductOption productOption)
Copyright © 2024. All rights reserved.