public class DeleteEmptyFolderAction extends DeleteAction<DeleteEmptyFolderActionDefinition>
DeleteEmptyFolderActionDefinition
AbstractCommandAction.CommandActionTriggerListener
eventBus, jcrItem, uiContext
COMMAND_RESULT
Constructor and Description |
---|
DeleteEmptyFolderAction(DeleteEmptyFolderActionDefinition definition,
JcrItemAdapter item,
info.magnolia.commands.CommandsManager commandsManager,
info.magnolia.event.EventBus eventBus,
UiContext uiContext,
info.magnolia.i18nsystem.SimpleTranslator i18n) |
DeleteEmptyFolderAction(DeleteEmptyFolderActionDefinition definition,
List<JcrItemAdapter> items,
info.magnolia.commands.CommandsManager commandsManager,
info.magnolia.event.EventBus eventBus,
UiContext uiContext,
info.magnolia.i18nsystem.SimpleTranslator i18n) |
Modifier and Type | Method and Description |
---|---|
void |
onPreExecute()
Pre Command Execution.
|
executeOnItem, getFailureMessage, getI18n, getSuccessMessage, onPostExecute
buildParams, getCommand, getCommandsManager, getParams, isInvokeAsynchronously, onError
execute, getCurrentItem, getErrorNotification, getFailedItems, getItemComparator, getItems, getSortedItems, getUiContext, setCurrentItem
getDefinition
public DeleteEmptyFolderAction(DeleteEmptyFolderActionDefinition definition, JcrItemAdapter item, info.magnolia.commands.CommandsManager commandsManager, @Named(value="admincentral") info.magnolia.event.EventBus eventBus, UiContext uiContext, info.magnolia.i18nsystem.SimpleTranslator i18n)
public DeleteEmptyFolderAction(DeleteEmptyFolderActionDefinition definition, List<JcrItemAdapter> items, info.magnolia.commands.CommandsManager commandsManager, @Named(value="admincentral") info.magnolia.event.EventBus eventBus, UiContext uiContext, info.magnolia.i18nsystem.SimpleTranslator i18n)
public void onPreExecute() throws Exception
AbstractCommandAction
onPreExecute
in class DeleteAction<DeleteEmptyFolderActionDefinition>
Exception
Copyright © 2015 Magnolia International Ltd.. All rights reserved.