MoveAction
instead.@Deprecated public class MoveNodeAction extends AbstractMultiItemAction<MoveNodeActionDefinition>
MoveActionDefinition
,
Upgrading to Magnolia 6.2.xModifier and Type | Field and Description |
---|---|
protected info.magnolia.event.EventBus |
admincentralEventBus
Deprecated.
|
Constructor and Description |
---|
MoveNodeAction(MoveNodeActionDefinition definition,
List<JcrItemAdapter> items,
JcrNodeAdapter targetItem,
info.magnolia.event.EventBus admincentralEventBus,
UiContext uiContext,
MoveActionCallback callback,
MoveHandler moveHandler)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
execute()
Deprecated.
Executes the action.
|
protected void |
executeOnItem(JcrItemAdapter item)
Deprecated.
Executes the action on ONE item.
|
protected String |
getFailureMessage()
Deprecated.
Returns the message to display, if the execution fails on at least ONE item.
|
protected List<JcrItemAdapter> |
getSortedItems(Comparator<JcrItemAdapter> comparator)
Deprecated.
|
protected String |
getSuccessMessage()
Deprecated.
Returns the message to display, if the execution succeeds on ALL items.
|
getCurrentItem, getErrorNotification, getFailedItems, getItemComparator, getItems, getUiContext, setCurrentItem
getDefinition
protected final info.magnolia.event.EventBus admincentralEventBus
public MoveNodeAction(MoveNodeActionDefinition definition, List<JcrItemAdapter> items, JcrNodeAdapter targetItem, @Named(value="admincentral") info.magnolia.event.EventBus admincentralEventBus, UiContext uiContext, MoveActionCallback callback, MoveHandler moveHandler)
public void execute() throws ActionExecutionException
Action
execute
in interface Action
execute
in class AbstractMultiItemAction<MoveNodeActionDefinition>
ActionExecutionException
- if an error occurs performing the actionprotected void executeOnItem(JcrItemAdapter item) throws Exception
AbstractMultiItemAction
executeOnItem
in class AbstractMultiItemAction<MoveNodeActionDefinition>
Exception
protected String getSuccessMessage()
AbstractMultiItemAction
null
,
if the implementing action handles the user notification on its own.getSuccessMessage
in class AbstractMultiItemAction<MoveNodeActionDefinition>
protected String getFailureMessage()
AbstractMultiItemAction
null
,
if the implementing action handles the user notification on its own.getFailureMessage
in class AbstractMultiItemAction<MoveNodeActionDefinition>
protected List<JcrItemAdapter> getSortedItems(Comparator<JcrItemAdapter> comparator)
getSortedItems
in class AbstractMultiItemAction<MoveNodeActionDefinition>
Comparator
.Copyright © 2020 Magnolia International Ltd.. All rights reserved.