public class DeleteGroupAction extends AbstractDeleteGroupOrRoleAction<DeleteGroupActionDefinition>
Constructor and Description |
---|
DeleteGroupAction(DeleteGroupActionDefinition 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)
Deprecated.
|
DeleteGroupAction(DeleteGroupActionDefinition 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) |
DeleteGroupAction(DeleteGroupActionDefinition definition,
info.magnolia.ui.vaadin.integration.jcr.JcrItemAdapter item,
info.magnolia.event.EventBus eventBus,
info.magnolia.ui.api.context.UiContext uiContext,
info.magnolia.i18nsystem.SimpleTranslator i18n)
|
Modifier and Type | Method and Description |
---|---|
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)
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 Collection<String> |
getGroupsWithGroupOrRoleToDelete(String groupOrRole) |
protected Collection<String> |
getUsersWithGroupOrRoleToDelete(String groupOrRole) |
protected String |
getVerificationErrorMessage() |
execute, executeAfterConfirmation, getItem, getSecuritySupport, onPreExecute
executeOnItem, getFailureMessage, getI18n, getSuccessMessage, onPostExecute
buildParams, getCommand, getCommandsManager, getParams, isInvokeAsynchronously, onError
@Inject public DeleteGroupAction(DeleteGroupActionDefinition 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)
@Deprecated public DeleteGroupAction(DeleteGroupActionDefinition 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)
DeleteGroupAction(DeleteGroupActionDefinition, info.magnolia.ui.vaadin.integration.jcr.JcrItemAdapter, info.magnolia.commands.CommandsManager, info.magnolia.event.EventBus, info.magnolia.ui.api.context.UiContext, info.magnolia.i18nsystem.SimpleTranslator, info.magnolia.cms.security.SecuritySupport)
@Deprecated public DeleteGroupAction(DeleteGroupActionDefinition definition, info.magnolia.ui.vaadin.integration.jcr.JcrItemAdapter item, @Named(value="admincentral") info.magnolia.event.EventBus eventBus, info.magnolia.ui.api.context.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 Collection<String> getUsersWithGroupOrRoleToDelete(String groupOrRole)
getUsersWithGroupOrRoleToDelete
in class AbstractDeleteGroupOrRoleAction<DeleteGroupActionDefinition>
protected Collection<String> getGroupsWithGroupOrRoleToDelete(String groupOrRole)
getGroupsWithGroupOrRoleToDelete
in class AbstractDeleteGroupOrRoleAction<DeleteGroupActionDefinition>
protected String getConfirmationDialogTitle()
getConfirmationDialogTitle
in class AbstractDeleteGroupOrRoleAction<DeleteGroupActionDefinition>
protected String getConfirmationDialogBody()
getConfirmationDialogBody
in class AbstractDeleteGroupOrRoleAction<DeleteGroupActionDefinition>
protected String getConfirmationDialogProceedLabel()
getConfirmationDialogProceedLabel
in class AbstractDeleteGroupOrRoleAction<DeleteGroupActionDefinition>
protected String getConfirmationDialogCancelLabel()
getConfirmationDialogCancelLabel
in class AbstractDeleteGroupOrRoleAction<DeleteGroupActionDefinition>
protected String getBaseErrorMessage()
getBaseErrorMessage
in class AbstractDeleteGroupOrRoleAction<DeleteGroupActionDefinition>
protected String getVerificationErrorMessage()
getVerificationErrorMessage
in class AbstractDeleteGroupOrRoleAction<DeleteGroupActionDefinition>
AbstractDeleteGroupOrRoleAction.getAssignedUsersAndGroups()
method) fails.Copyright © 2019 Magnolia International Ltd.. All rights reserved.