info.magnolia.security.app.action
Class DeleteEmptyFolderAction
java.lang.Object
info.magnolia.ui.api.action.AbstractAction<D>
info.magnolia.ui.framework.action.AbstractMultiItemAction<D>
info.magnolia.ui.framework.action.AbstractCommandAction<D>
info.magnolia.ui.framework.action.DeleteAction<DeleteEmptyFolderActionDefinition>
info.magnolia.security.app.action.DeleteEmptyFolderAction
- All Implemented Interfaces:
- info.magnolia.ui.api.action.Action
public class DeleteEmptyFolderAction
- extends info.magnolia.ui.framework.action.DeleteAction<DeleteEmptyFolderActionDefinition>
Action that will only delete a folder if it has no sub nodes.
- See Also:
DeleteEmptyFolderActionDefinition
Nested classes/interfaces inherited from class info.magnolia.ui.framework.action.AbstractCommandAction |
info.magnolia.ui.framework.action.AbstractCommandAction.CommandActionTriggerListener |
Fields inherited from class info.magnolia.ui.framework.action.DeleteAction |
eventBus, jcrItem, uiContext |
Fields inherited from class info.magnolia.ui.framework.action.AbstractCommandAction |
COMMAND_RESULT |
Constructor Summary |
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)
|
Methods inherited from class info.magnolia.ui.framework.action.DeleteAction |
execute, executeOnItem, getFailureMessage, getI18n, getSuccessMessage, onPostExecute |
Methods inherited from class info.magnolia.ui.framework.action.AbstractCommandAction |
buildParams, getCommand, getCommandsManager, getParams, isInvokeAsynchronously, onError |
Methods inherited from class info.magnolia.ui.framework.action.AbstractMultiItemAction |
getCurrentItem, getErrorNotification, getFailedItems, getItemComparator, getItems, getSortedItems, getUiContext, setCurrentItem |
Methods inherited from class info.magnolia.ui.api.action.AbstractAction |
getDefinition |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeleteEmptyFolderAction
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)
DeleteEmptyFolderAction
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)
onPreExecute
public void onPreExecute()
throws Exception
- Overrides:
onPreExecute
in class info.magnolia.ui.framework.action.DeleteAction<DeleteEmptyFolderActionDefinition>
- Throws:
Exception
Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.