public interface AdminAbstractControllerExtensionHandler extends ExtensionHandler
AdminAbstractController
.Modifier and Type | Field and Description |
---|---|
static String |
NEW_CLASS_NAME |
getPriority, isEnabled
static final String NEW_CLASS_NAME
ExtensionResultStatusType addAdditionalMainActions(String sectionClassName, List<EntityFormAction> actions)
AdminBasicEntityController#viewEntityList()
is invoked to allow additional
main form actions to be contributed.model
- sectionKey
- ExtensionResultStatusType modifyMainActions(ClassMetadata cmd, List<EntityFormAction> mainActions)
DefaultMainActions.ADD
cmd
- 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 actionsExtensionResultStatusType setAdditionalModelAttributes(org.springframework.ui.Model model, String sectionKey)
AdminAbstractController.setModelAttributes(Model, String)
is invoked.model
- sectionKey
- ExtensionResultStatusType overrideClassNameForSection(ExtensionResultHolder erh, String sectionKey, AdminSection section)
AdminAbstractController.getClassNameForSection(String)
is invoked. If an extension
handler sets the NEW_CLASS_NAME
variable in the ExtensionResultHolder, the overriden value will be used.erh
- sectionKey
- section
- ExtensionResultStatusType modifyDynamicForm(EntityForm form, String parentEntityId)
AdminAbstractController.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.form
- parentEntityId
- Copyright © 2017. All rights reserved.