org.broadleafcommerce.openadmin.web.controller
Class BroadleafAdminAbstractController

java.lang.Object
  extended by org.broadleafcommerce.common.web.controller.BroadleafAbstractController
      extended by org.broadleafcommerce.openadmin.web.controller.BroadleafAdminAbstractController

public abstract class BroadleafAdminAbstractController
extends BroadleafAbstractController

An abstract controller that provides convenience methods and resource declarations for the Admin All Admin controllers must extend this class in order to be registered with the Left-hand Navigation. Operations that are shared between all admin controllers belong here.

Author:
elbertbautista, apazzolini
See Also:
AdminNavigationHandlerMapping

Field Summary
protected  String currentSectionKey
           
 
Constructor Summary
BroadleafAdminAbstractController()
           
 
Method Summary
 AdminModule getCurrentAdminModule()
           
 AdminSection getCurrentAdminSection()
           
abstract  String getCurrentSectionKey()
           
 
Methods inherited from class org.broadleafcommerce.common.web.controller.BroadleafAbstractController
isAjaxRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

currentSectionKey

protected String currentSectionKey
Constructor Detail

BroadleafAdminAbstractController

public BroadleafAdminAbstractController()
Method Detail

getCurrentAdminModule

@ModelAttribute(value="currentAdminModule")
public AdminModule getCurrentAdminModule()

getCurrentAdminSection

@ModelAttribute(value="currentAdminSection")
public AdminSection getCurrentAdminSection()

getCurrentSectionKey

public abstract String getCurrentSectionKey()


Copyright © 2013. All Rights Reserved.