MarkAsDeletedCommandAction
instead.@Deprecated public class MarkNodeAsDeletedAction extends DeleteAction<MarkNodeAsDeletedActionDefinition>
eventBus, items, uiContext
COMMAND_RESULT, LONG_RUNNING_ACTION_NOTIFICATION, PARALLEL_EXECUTION_NOT_ALLOWED_NOTIFICATION
Constructor and Description |
---|
MarkNodeAsDeletedAction(MarkNodeAsDeletedActionDefinition definition,
JcrItemAdapter item,
info.magnolia.commands.CommandsManager commandsManager,
info.magnolia.event.EventBus eventBus,
UiContext uiContext,
info.magnolia.i18nsystem.SimpleTranslator i18n)
Deprecated.
|
MarkNodeAsDeletedAction(MarkNodeAsDeletedActionDefinition definition,
List<JcrItemAdapter> items,
info.magnolia.commands.CommandsManager commandsManager,
info.magnolia.event.EventBus eventBus,
UiContext uiContext,
info.magnolia.i18nsystem.SimpleTranslator i18n)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected Map<String,Object> |
buildParams(javax.jcr.Item item)
Deprecated.
Override the buildParams(..).
The relented command is waiting the following values: Context.ATTRIBUTE_UUID : Parent Node Identifier instead of the Node identifier set by super.buildParams() Context.ATTRIBUTE_PATH : Parent Node Path instead of the Node Path set by super.buildParams() |
executeOnItem, getFailureMessage, getI18n, getSuccessMessage, onPostExecute, onPreExecute
getCommand, getCommandsManager, getParams, isInvokeAsynchronously, onError
execute, getCurrentItem, getErrorNotification, getFailedItems, getItemComparator, getItems, getSortedItems, getUiContext, setCurrentItem
getDefinition
public MarkNodeAsDeletedAction(MarkNodeAsDeletedActionDefinition definition, JcrItemAdapter item, info.magnolia.commands.CommandsManager commandsManager, @Named(value="admincentral") info.magnolia.event.EventBus eventBus, UiContext uiContext, info.magnolia.i18nsystem.SimpleTranslator i18n)
public MarkNodeAsDeletedAction(MarkNodeAsDeletedActionDefinition definition, List<JcrItemAdapter> items, info.magnolia.commands.CommandsManager commandsManager, @Named(value="admincentral") info.magnolia.event.EventBus eventBus, UiContext uiContext, info.magnolia.i18nsystem.SimpleTranslator i18n)
protected Map<String,Object> buildParams(javax.jcr.Item item)
buildParams
in class AbstractCommandAction<MarkNodeAsDeletedActionDefinition>
Copyright © 2021 Magnolia International Ltd.. All rights reserved.