public class AbstractAdminAbstractControllerExtensionHandler extends AbstractExtensionHandler implements AdminAbstractControllerExtensionHandler
AdminAbstractControllerExtensionHandler.
Individual implementations of this extension handler should subclass this class as it will allow them to
only override the methods that they need for their particular scenarios.enabled, priorityNEW_CLASS_NAME| Constructor and Description |
|---|
AbstractAdminAbstractControllerExtensionHandler() |
getPriority, isEnabled, setEnabled, setPriorityclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPriority, isEnabledpublic AbstractAdminAbstractControllerExtensionHandler()
public ExtensionResultStatusType addAdditionalMainActions(String sectionClassName, List<EntityFormAction> actions)
AdminAbstractControllerExtensionHandlerAdminBasicEntityController#viewEntityList() is invoked to allow additional
main form actions to be contributed.addAdditionalMainActions in interface AdminAbstractControllerExtensionHandlerpublic ExtensionResultStatusType modifyMainActions(ClassMetadata cmd, List<EntityFormAction> mainActions)
AdminAbstractControllerExtensionHandlerDefaultMainActions.ADDmodifyMainActions in interface AdminAbstractControllerExtensionHandlercmd - the metadata for the ceiling entity that is being displayedmainActions - the actions that are added to the main form by default. Use this list to add more actionspublic ExtensionResultStatusType setAdditionalModelAttributes(org.springframework.ui.Model model, String sectionKey)
AdminAbstractControllerExtensionHandlerAdminAbstractController.setModelAttributes(Model, String) is invoked.setAdditionalModelAttributes in interface AdminAbstractControllerExtensionHandlerpublic ExtensionResultStatusType overrideClassNameForSection(ExtensionResultHolder erh, String sectionKey, AdminSection section)
AdminAbstractControllerExtensionHandlerAdminAbstractController.getClassNameForSection(String) is invoked. If an extension
handler sets the AdminAbstractControllerExtensionHandler.NEW_CLASS_NAME variable in the ExtensionResultHolder, the overriden value will be used.overrideClassNameForSection in interface AdminAbstractControllerExtensionHandlerpublic ExtensionResultStatusType modifyDynamicForm(EntityForm form, String parentEntityId)
AdminAbstractControllerExtensionHandlerAdminAbstractController.getBlankDynamicFieldTemplateForm(org.broadleafcommerce.openadmin.web.form.entity.DynamicEntityFormInfo) or
AdminAbstractController.getDynamicFieldTemplateForm(org.broadleafcommerce.openadmin.web.form.entity.DynamicEntityFormInfo, java.lang.String, org.broadleafcommerce.openadmin.web.form.entity.EntityForm) is invoked. This method provides the ability to modify
the dynamic form that is created as a result of those two methods.modifyDynamicForm in interface AdminAbstractControllerExtensionHandlerCopyright © 2017. All rights reserved.