org.broadleafcommerce.openadmin.web.controller
Interface MainEntityActionsExtensionHandler

All Superinterfaces:
ExtensionHandler

public interface MainEntityActionsExtensionHandler
extends ExtensionHandler

Author:
Phillip Verheyden (phillipuniverse)

Method Summary
 void modifyMainActions(ClassMetadata cmd, List<EntityFormAction> mainActions)
          Extension point to override the actions that are added by default when viewing a ceiling entity for a particular section (for instance, a list of Products in the 'Product' section).
 
Methods inherited from interface org.broadleafcommerce.common.extension.ExtensionHandler
getPriority, isEnabled
 

Method Detail

modifyMainActions

void modifyMainActions(ClassMetadata cmd,
                       List<EntityFormAction> mainActions)
Extension point to override the actions that are added by default when viewing a ceiling entity for a particular section (for instance, a list of Products in the 'Product' section). Assuming that the user has proper permissions, the mainActions list would have DefaultMainActions.ADD

Parameters:
cmd - the metadata for the ceiling entity that is being displayed
mainActions - the actions that are added to the main form by default. Use this list to add more actions


Copyright © 2013. All Rights Reserved.