public class AddContentNodeAction extends AbstractAction<AddContentNodeActionDefinition>
AddNodeAction
.AddContentNodeActionDefinition
Modifier and Type | Field and Description |
---|---|
static String |
NAME_PID |
static String |
TYPE_PID |
Constructor and Description |
---|
AddContentNodeAction(AddContentNodeActionDefinition definition,
JcrItemAdapter item,
UiContext uiContext,
FormDialogPresenterFactory formDialogPresenterFactory,
info.magnolia.i18nsystem.SimpleTranslator i18n,
info.magnolia.event.EventBus eventBus) |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Executes the action.
|
getDefinition
public static final String NAME_PID
public static final String TYPE_PID
@Inject public AddContentNodeAction(AddContentNodeActionDefinition definition, JcrItemAdapter item, UiContext uiContext, FormDialogPresenterFactory formDialogPresenterFactory, info.magnolia.i18nsystem.SimpleTranslator i18n, @Named(value="admincentral") info.magnolia.event.EventBus eventBus)
public void execute() throws ActionExecutionException
Action
ActionExecutionException
- if an error occurs performing the actionCopyright © 2019 Magnolia International Ltd.. All rights reserved.