info.magnolia.ui.contentapp.movedialog.action
Class MoveNodeAction
java.lang.Object
info.magnolia.ui.api.action.AbstractAction<D>
info.magnolia.ui.framework.action.AbstractMultiItemAction<MoveNodeActionDefinition>
info.magnolia.ui.contentapp.movedialog.action.MoveNodeAction
- All Implemented Interfaces:
- Action
public class MoveNodeAction
- extends AbstractMultiItemAction<MoveNodeActionDefinition>
Action that moves a node.
- See Also:
MoveNodeActionDefinition
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
admincentralEventBus
protected final info.magnolia.event.EventBus admincentralEventBus
MoveNodeAction
public MoveNodeAction(MoveNodeActionDefinition definition,
List<JcrItemAdapter> items,
JcrNodeAdapter targetItem,
@Named(value="admincentral")
info.magnolia.event.EventBus admincentralEventBus,
UiContext uiContext,
MoveActionCallback callback)
execute
public void execute()
throws ActionExecutionException
- Description copied from interface:
Action
- Executes the action.
- Specified by:
execute
in interface Action
- Overrides:
execute
in class AbstractMultiItemAction<MoveNodeActionDefinition>
- Throws:
ActionExecutionException
- if an error occurs performing the action
executeOnItem
protected void executeOnItem(JcrItemAdapter item)
throws Exception
- Description copied from class:
AbstractMultiItemAction
- Executes the action on ONE item.
- Specified by:
executeOnItem
in class AbstractMultiItemAction<MoveNodeActionDefinition>
- Throws:
Exception
getSuccessMessage
protected String getSuccessMessage()
- Description copied from class:
AbstractMultiItemAction
- Returns the message to display, if the execution succeeds on ALL items. May return
null
,
if the implementing action handles the user notification on its own.
- Specified by:
getSuccessMessage
in class AbstractMultiItemAction<MoveNodeActionDefinition>
getFailureMessage
protected String getFailureMessage()
- Description copied from class:
AbstractMultiItemAction
- Returns the message to display, if the execution fails on at least ONE item. May return
null
,
if the implementing action handles the user notification on its own.
- Specified by:
getFailureMessage
in class AbstractMultiItemAction<MoveNodeActionDefinition>
Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.