Class AdminModuleProcessor
java.lang.Object
org.broadleafcommerce.openadmin.processor.AdminModuleProcessor
- All Implemented Interfaces:
BroadleafVariableExpression,AdminModuleExpression
@Component("blAdminModuleProcessor")
@ConditionalOnTemplating
public class AdminModuleProcessor
extends Object
implements AdminModuleExpression
A Thymeleaf processor that will add the appropriate AdminModules to the model. It does this by
iterating through the permissions specified in the SecurityContexts AdminUser object and adding the
appropriate section to the model attribute specified by resultVar
This is useful in constructing the left navigation menu for the admin console.
- Author:
- elbertbautista
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
securityService
-
Constructor Details
-
AdminModuleProcessor
public AdminModuleProcessor()
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceAdminModuleExpression- Specified by:
getNamein interfaceBroadleafVariableExpression
-
getPrecedence
public int getPrecedence()- Specified by:
getPrecedencein interfaceAdminModuleExpression
-
getAllModules
- Specified by:
getAllModulesin interfaceAdminModuleExpression
-
getPersistentAdminUser
-