@Component(value="blMenuProcessor") @ConditionalOnTemplating public class MenuProcessor extends Object implements org.broadleafcommerce.common.web.expression.BroadleafVariableExpression
It accepts a menuName or menuId. The precedence is that a menuId will honored first, followed by a menuName. An extension manager may override the resulting menu if configured to do so.
| Modifier and Type | Field and Description |
|---|---|
protected MenuProcessorExtensionManager |
extensionManager |
protected MenuService |
menuService |
| Constructor and Description |
|---|
MenuProcessor() |
| Modifier and Type | Method and Description |
|---|---|
List<MenuItemDTO> |
getMenu(String menuId,
String menuName) |
String |
getName() |
protected MenuService menuService
protected MenuProcessorExtensionManager extensionManager
public String getName()
getName in interface org.broadleafcommerce.common.web.expression.BroadleafVariableExpressionpublic List<MenuItemDTO> getMenu(String menuId, String menuName)
Copyright © 2023. All rights reserved.