public class DeleteGroupAction extends AbstractDeleteGroupOrRoleAction<DeleteGroupActionDefinition>
AbstractCommandAction.CommandActionTriggerListener
eventBus, jcrItem, uiContext
COMMAND_RESULT
Constructor and Description |
---|
DeleteGroupAction(DeleteGroupActionDefinition definition,
JcrItemAdapter item,
info.magnolia.commands.CommandsManager commandsManager,
info.magnolia.event.EventBus eventBus,
UiContext uiContext,
info.magnolia.i18nsystem.SimpleTranslator i18n) |
DeleteGroupAction(DeleteGroupActionDefinition definition,
JcrItemAdapter item,
info.magnolia.event.EventBus eventBus,
UiContext uiContext,
info.magnolia.i18nsystem.SimpleTranslator i18n)
|
Modifier and Type | Method and Description |
---|---|
protected String |
getBaseErrorMessage() |
protected Collection<String> |
getGroupsOrRoles(info.magnolia.cms.security.Group group)
Gets a collection of group or role names (according to where it is implemented) assigned to the group.
|
protected Collection<String> |
getGroupsOrRoles(info.magnolia.cms.security.User user)
Gets a collection of group or role names (according to where it is implemented) assigned to the user.
|
protected String |
getVerificationErrorMessage() |
executeAfterConfirmation, getItem, onPreExecute
executeOnItem, getFailureMessage, getI18n, getSuccessMessage, onPostExecute
buildParams, getCommand, getCommandsManager, getParams, isInvokeAsynchronously, onError
execute, getCurrentItem, getErrorNotification, getFailedItems, getItemComparator, getItems, getSortedItems, getUiContext, setCurrentItem
getDefinition
@Inject public DeleteGroupAction(DeleteGroupActionDefinition definition, JcrItemAdapter item, info.magnolia.commands.CommandsManager commandsManager, @Named(value="admincentral") info.magnolia.event.EventBus eventBus, UiContext uiContext, info.magnolia.i18nsystem.SimpleTranslator i18n)
public DeleteGroupAction(DeleteGroupActionDefinition definition, JcrItemAdapter item, @Named(value="admincentral") info.magnolia.event.EventBus eventBus, UiContext uiContext, info.magnolia.i18nsystem.SimpleTranslator i18n)
protected Collection<String> getGroupsOrRoles(info.magnolia.cms.security.User user)
AbstractDeleteGroupOrRoleAction
getGroupsOrRoles
in class AbstractDeleteGroupOrRoleAction<DeleteGroupActionDefinition>
protected Collection<String> getGroupsOrRoles(info.magnolia.cms.security.Group group)
AbstractDeleteGroupOrRoleAction
getGroupsOrRoles
in class AbstractDeleteGroupOrRoleAction<DeleteGroupActionDefinition>
protected String getBaseErrorMessage()
getBaseErrorMessage
in class AbstractDeleteGroupOrRoleAction<DeleteGroupActionDefinition>
protected String getVerificationErrorMessage()
getVerificationErrorMessage
in class AbstractDeleteGroupOrRoleAction<DeleteGroupActionDefinition>
AbstractDeleteGroupOrRoleAction.getUsersAndGroupsThisItemIsAssignedTo()
method) fails.Copyright © 2015 Magnolia International Ltd.. All rights reserved.