org.broadleafcommerce.openadmin.web.processor
Class AdminUserProcessor

java.lang.Object
  extended by org.thymeleaf.processor.AbstractProcessor
      extended by org.thymeleaf.processor.element.AbstractElementProcessor
          extended by org.broadleafcommerce.common.web.dialect.AbstractModelVariableModifierProcessor
              extended by org.broadleafcommerce.openadmin.web.processor.AdminUserProcessor
All Implemented Interfaces:
Comparable<org.thymeleaf.processor.IProcessor>, org.thymeleaf.processor.IProcessor

@Component(value="blAdminUserProcessor")
public class AdminUserProcessor
extends AbstractModelVariableModifierProcessor

A Thymeleaf processor that will add the appropriate AdminUser to the model.

Author:
elbertbautista

Constructor Summary
AdminUserProcessor()
           
 
Method Summary
protected  AdminUser getPersistentAdminUser()
           
 int getPrecedence()
           
protected  void initServices(org.thymeleaf.Arguments arguments)
           
protected  void modifyModelAttributes(org.thymeleaf.Arguments arguments, org.thymeleaf.dom.Element element)
           
 
Methods inherited from class org.broadleafcommerce.common.web.dialect.AbstractModelVariableModifierProcessor
addToModel, processElement
 
Methods inherited from class org.thymeleaf.processor.element.AbstractElementProcessor
doProcess, getMatcher
 
Methods inherited from class org.thymeleaf.processor.AbstractProcessor
compareTo, getMessage, getMessageForProcessor, getMessageForTemplate, process
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdminUserProcessor

public AdminUserProcessor()
Method Detail

modifyModelAttributes

protected void modifyModelAttributes(org.thymeleaf.Arguments arguments,
                                     org.thymeleaf.dom.Element element)
Specified by:
modifyModelAttributes in class AbstractModelVariableModifierProcessor

getPrecedence

public int getPrecedence()
Specified by:
getPrecedence in class org.thymeleaf.processor.AbstractProcessor

initServices

protected void initServices(org.thymeleaf.Arguments arguments)

getPersistentAdminUser

protected AdminUser getPersistentAdminUser()


Copyright © 2013. All Rights Reserved.