public class DeleteFolderAction extends info.magnolia.ui.framework.action.DeleteAction<DeleteFolderActionDefinition>
DeleteFolderActionDefinition
Constructor and Description |
---|
DeleteFolderAction(DeleteFolderActionDefinition 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,
info.magnolia.cms.security.SecuritySupport securitySupport) |
DeleteFolderAction(DeleteFolderActionDefinition 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,
info.magnolia.cms.security.SecuritySupport securitySupport) |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
protected String |
formatUserAndGroupList(Map<String,List<String>> usersAndGroups) |
protected String |
getBaseErrorMessage() |
protected String |
getConfirmationDialogBody() |
protected String |
getConfirmationDialogCancelLabel() |
protected String |
getConfirmationDialogProceedLabel() |
protected String |
getConfirmationDialogTitle() |
protected Collection<String> |
getGroupsOrRoles(info.magnolia.cms.security.Group group)
Deprecated.
since 5.3.6 - will be removed without replacement
|
protected Collection<String> |
getGroupsOrRoles(info.magnolia.cms.security.User user)
Deprecated.
since 5.3.6 - will be removed without replacement
|
protected String |
getUserAndGroupListForErrorMessage(List<String> usersAndGroups)
Deprecated.
since 5.3.10 - use
#formatUserAndGroupList(Map instead. |
protected String |
getVerificationErrorMessage() |
protected void |
onPreExecute() |
executeOnItem, getFailureMessage, getI18n, getSuccessMessage, onPostExecute
buildParams, getCommand, getCommandsManager, getParams, isInvokeAsynchronously, onError
public DeleteFolderAction(DeleteFolderActionDefinition 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, info.magnolia.cms.security.SecuritySupport securitySupport)
public DeleteFolderAction(DeleteFolderActionDefinition 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, info.magnolia.cms.security.SecuritySupport securitySupport)
public void execute() throws info.magnolia.ui.api.action.ActionExecutionException
execute
in interface info.magnolia.ui.api.action.Action
execute
in class info.magnolia.ui.framework.action.AbstractMultiItemAction<DeleteFolderActionDefinition>
info.magnolia.ui.api.action.ActionExecutionException
protected void onPreExecute() throws Exception
onPreExecute
in class info.magnolia.ui.framework.action.DeleteAction<DeleteFolderActionDefinition>
Exception
protected String getVerificationErrorMessage()
@Deprecated protected Collection<String> getGroupsOrRoles(info.magnolia.cms.security.User user)
@Deprecated protected Collection<String> getGroupsOrRoles(info.magnolia.cms.security.Group group)
@Deprecated protected String getUserAndGroupListForErrorMessage(List<String> usersAndGroups)
#formatUserAndGroupList(Map>)
instead.protected String formatUserAndGroupList(Map<String,List<String>> usersAndGroups)
protected String getConfirmationDialogTitle()
protected String getConfirmationDialogBody()
protected String getConfirmationDialogProceedLabel()
protected String getConfirmationDialogCancelLabel()
protected String getBaseErrorMessage()
Copyright © 2018 Magnolia International Ltd.. All rights reserved.