D
- the action definition type, must extend the DeleteActionDefinition
class.public abstract class AbstractDeleteGroupOrRoleAction<D extends info.magnolia.ui.framework.action.DeleteActionDefinition>
extends info.magnolia.ui.framework.action.DeleteAction
DeleteGroupAction
and DeleteRoleAction
.Constructor and Description |
---|
AbstractDeleteGroupOrRoleAction(D 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.
|
AbstractDeleteGroupOrRoleAction(D 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) |
AbstractDeleteGroupOrRoleAction(D 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)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
executeAfterConfirmation()
Deprecated.
since 5.2.2 instead of use
onPreExecute() |
protected abstract String |
getBaseErrorMessage() |
protected abstract 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 abstract 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 abstract Collection<String> |
getGroupsWithGroupOrRoleToDelete(String groupOrRoleName) |
info.magnolia.ui.vaadin.integration.jcr.JcrItemAdapter |
getItem()
Deprecated.
since 5.2.2 instead of use
AbstractMultiItemAction.getCurrentItem() |
protected info.magnolia.cms.security.SecuritySupport |
getSecuritySupport() |
protected abstract Collection<String> |
getUsersWithGroupOrRoleToDelete(String groupOrRoleName) |
protected abstract String |
getVerificationErrorMessage() |
protected void |
onPreExecute() |
executeOnItem, getFailureMessage, getI18n, getSuccessMessage, onPostExecute
buildParams, getCommand, getCommandsManager, getParams, isInvokeAsynchronously, onError
@Inject public AbstractDeleteGroupOrRoleAction(D 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 AbstractDeleteGroupOrRoleAction(D 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)
AbstractDeleteGroupOrRoleAction(info.magnolia.ui.framework.action.DeleteActionDefinition, 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 AbstractDeleteGroupOrRoleAction(D 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)
AbstractDeleteGroupOrRoleAction(info.magnolia.ui.framework.action.DeleteActionDefinition, 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 info.magnolia.ui.vaadin.integration.jcr.JcrItemAdapter getItem()
AbstractMultiItemAction.getCurrentItem()
protected abstract String getBaseErrorMessage()
protected abstract String getVerificationErrorMessage()
getUsersAndGroupsThisItemIsAssignedTo()
method) fails.protected abstract Collection<String> getGroupsOrRoles(info.magnolia.cms.security.User user)
protected abstract Collection<String> getGroupsOrRoles(info.magnolia.cms.security.Group group)
protected abstract Collection<String> getUsersWithGroupOrRoleToDelete(String groupOrRoleName)
protected abstract Collection<String> getGroupsWithGroupOrRoleToDelete(String groupOrRoleName)
@Deprecated protected void executeAfterConfirmation()
onPreExecute()
protected void onPreExecute() throws Exception
onPreExecute
in class info.magnolia.ui.framework.action.DeleteAction
Exception
protected info.magnolia.cms.security.SecuritySupport getSecuritySupport()
Copyright © 2015 Magnolia International Ltd.. All rights reserved.