public class DeleteEmptyFolderAction extends info.magnolia.ui.framework.action.DeleteAction<DeleteEmptyFolderActionDefinition>
DeleteEmptyFolderActionDefinition
Constructor and Description |
---|
DeleteEmptyFolderAction(DeleteEmptyFolderActionDefinition definition,
info.magnolia.ui.vaadin.integration.jcr.JcrItemAdapter item,
info.magnolia.commands.CommandsManager commandsManager,
info.magnolia.event.EventBus eventBus,
info.magnolia.ui.api.context.UiContext uiContext,
info.magnolia.i18nsystem.SimpleTranslator i18n) |
DeleteEmptyFolderAction(DeleteEmptyFolderActionDefinition definition,
List<info.magnolia.ui.vaadin.integration.jcr.JcrItemAdapter> items,
info.magnolia.commands.CommandsManager commandsManager,
info.magnolia.event.EventBus eventBus,
info.magnolia.ui.api.context.UiContext uiContext,
info.magnolia.i18nsystem.SimpleTranslator i18n) |
Modifier and Type | Method and Description |
---|---|
protected void |
onError(Exception e) |
void |
onPreExecute() |
executeOnItem, getFailureMessage, getI18n, getSuccessMessage, onPostExecute
buildParams, getCommand, getCommandsManager, getParams, isInvokeAsynchronously
public DeleteEmptyFolderAction(DeleteEmptyFolderActionDefinition definition, info.magnolia.ui.vaadin.integration.jcr.JcrItemAdapter item, info.magnolia.commands.CommandsManager commandsManager, @Named(value="admincentral") info.magnolia.event.EventBus eventBus, info.magnolia.ui.api.context.UiContext uiContext, info.magnolia.i18nsystem.SimpleTranslator i18n)
public DeleteEmptyFolderAction(DeleteEmptyFolderActionDefinition definition, List<info.magnolia.ui.vaadin.integration.jcr.JcrItemAdapter> items, info.magnolia.commands.CommandsManager commandsManager, @Named(value="admincentral") info.magnolia.event.EventBus eventBus, info.magnolia.ui.api.context.UiContext uiContext, info.magnolia.i18nsystem.SimpleTranslator i18n)
public void onPreExecute() throws Exception
onPreExecute
in class info.magnolia.ui.framework.action.DeleteAction<DeleteEmptyFolderActionDefinition>
Exception
protected void onError(Exception e)
onError
in class info.magnolia.ui.framework.action.AbstractCommandAction<DeleteEmptyFolderActionDefinition>
Copyright © 2019 Magnolia International Ltd.. All rights reserved.