| Package | Description |
|---|---|
| org.broadleafcommerce.openadmin.web.controller | |
| org.broadleafcommerce.openadmin.web.controller.entity | |
| org.broadleafcommerce.openadmin.web.form.entity |
| Modifier and Type | Method and Description |
|---|---|
void |
MainEntityActionsExtensionHandler.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).
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
AdminBasicEntityController.addAddActionIfAllowed(String sectionClassName,
ClassMetadata cmd,
List<EntityFormAction> mainActions)
Adds the "Add" button to the main entity form if the current user has permissions to create new instances
of the entity and all of the fields in the entity aren't marked as read only.
|
| Modifier and Type | Field and Description |
|---|---|
static EntityFormAction |
DefaultMainActions.ADD |
static EntityFormAction |
DefaultEntityFormActions.DELETE |
static EntityFormAction |
DefaultEntityFormActions.PREVIEW |
static EntityFormAction |
DefaultEntityFormActions.SAVE |
| Modifier and Type | Field and Description |
|---|---|
protected List<EntityFormAction> |
EntityForm.actions |
| Modifier and Type | Method and Description |
|---|---|
EntityFormAction |
EntityFormAction.clone() |
EntityFormAction |
EntityFormAction.withButtonClass(String buttonClass) |
EntityFormAction |
EntityFormAction.withButtonType(String buttonType) |
EntityFormAction |
EntityFormAction.withDisplayText(String displayText) |
EntityFormAction |
EntityFormAction.withIconClass(String iconClass) |
EntityFormAction |
EntityFormAction.withUrlPostfix(String urlPostfix) |
| Modifier and Type | Method and Description |
|---|---|
List<EntityFormAction> |
EntityForm.getActions() |
| Modifier and Type | Method and Description |
|---|---|
void |
EntityForm.addAction(EntityFormAction action) |
void |
EntityForm.addAction(int position,
EntityFormAction action)
Uses a zero based position.
|
void |
EntityForm.removeAction(EntityFormAction action) |
| Modifier and Type | Method and Description |
|---|---|
void |
EntityForm.setActions(List<EntityFormAction> actions) |
Copyright © 2014. All Rights Reserved.