public class DeleteFolderAction extends DeleteAction<DeleteFolderActionDefinition>
DeleteFolderActionDefinition
AbstractCommandAction.CommandActionTriggerListener
eventBus, jcrItem, uiContext
COMMAND_RESULT
Constructor and Description |
---|
DeleteFolderAction(DeleteFolderActionDefinition definition,
JcrItemAdapter item,
info.magnolia.commands.CommandsManager commandsManager,
info.magnolia.event.EventBus eventBus,
UiContext uiContext,
info.magnolia.i18nsystem.SimpleTranslator i18n,
info.magnolia.cms.security.SecuritySupport securitySupport) |
DeleteFolderAction(DeleteFolderActionDefinition definition,
List<JcrItemAdapter> items,
info.magnolia.commands.CommandsManager commandsManager,
info.magnolia.event.EventBus eventBus,
UiContext uiContext,
info.magnolia.i18nsystem.SimpleTranslator i18n,
info.magnolia.cms.security.SecuritySupport securitySupport) |
Modifier and Type | Method and Description |
---|---|
protected Collection<String> |
getGroupsOrRoles(info.magnolia.cms.security.Group group) |
protected Collection<String> |
getGroupsOrRoles(info.magnolia.cms.security.User user) |
protected String |
getUserAndGroupListForErrorMessage(List<String> usersAndGroups) |
protected String |
getVerificationErrorMessage() |
protected 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
@Inject public DeleteFolderAction(DeleteFolderActionDefinition definition, JcrItemAdapter item, info.magnolia.commands.CommandsManager commandsManager, @Named(value="admincentral") info.magnolia.event.EventBus eventBus, UiContext uiContext, info.magnolia.i18nsystem.SimpleTranslator i18n, info.magnolia.cms.security.SecuritySupport securitySupport)
@Inject public DeleteFolderAction(DeleteFolderActionDefinition definition, List<JcrItemAdapter> items, info.magnolia.commands.CommandsManager commandsManager, @Named(value="admincentral") info.magnolia.event.EventBus eventBus, UiContext uiContext, info.magnolia.i18nsystem.SimpleTranslator i18n, info.magnolia.cms.security.SecuritySupport securitySupport)
protected void onPreExecute() throws Exception
AbstractCommandAction
onPreExecute
in class DeleteAction<DeleteFolderActionDefinition>
Exception
protected String getVerificationErrorMessage()
protected Collection<String> getGroupsOrRoles(info.magnolia.cms.security.User user)
protected Collection<String> getGroupsOrRoles(info.magnolia.cms.security.Group group)
Copyright © 2015 Magnolia International Ltd.. All rights reserved.