public class DeleteRoleAction extends AbstractDeleteGroupOrRoleAction<DeleteRoleActionDefinition>
eventBus, jcrItem, uiContext
COMMAND_RESULT, LONG_RUNNING_ACTION_NOTIFICATION, PARALLEL_EXECUTION_NOT_ALLOWED_NOTIFICATION
Constructor and Description |
---|
DeleteRoleAction(DeleteRoleActionDefinition definition,
JcrItemAdapter item,
info.magnolia.commands.CommandsManager commandsManager,
info.magnolia.event.EventBus eventBus,
UiContext uiContext,
info.magnolia.i18nsystem.SimpleTranslator i18n)
Deprecated.
|
DeleteRoleAction(DeleteRoleActionDefinition 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) |
DeleteRoleAction(DeleteRoleActionDefinition 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 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
getCurrentItem, getErrorNotification, getFailedItems, getItemComparator, getItems, getSortedItems, getUiContext, setCurrentItem
getDefinition
@Inject public DeleteRoleAction(DeleteRoleActionDefinition 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)
@Deprecated public DeleteRoleAction(DeleteRoleActionDefinition definition, JcrItemAdapter item, info.magnolia.commands.CommandsManager commandsManager, @Named(value="admincentral") info.magnolia.event.EventBus eventBus, UiContext uiContext, info.magnolia.i18nsystem.SimpleTranslator i18n)
DeleteRoleAction(DeleteRoleActionDefinition, 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 DeleteRoleAction(DeleteRoleActionDefinition 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<DeleteRoleActionDefinition>
protected Collection<String> getGroupsOrRoles(info.magnolia.cms.security.Group group)
AbstractDeleteGroupOrRoleAction
getGroupsOrRoles
in class AbstractDeleteGroupOrRoleAction<DeleteRoleActionDefinition>
protected Collection<String> getUsersWithGroupOrRoleToDelete(String groupOrRole)
getUsersWithGroupOrRoleToDelete
in class AbstractDeleteGroupOrRoleAction<DeleteRoleActionDefinition>
protected Collection<String> getGroupsWithGroupOrRoleToDelete(String groupOrRole)
getGroupsWithGroupOrRoleToDelete
in class AbstractDeleteGroupOrRoleAction<DeleteRoleActionDefinition>
protected String getConfirmationDialogTitle()
getConfirmationDialogTitle
in class AbstractDeleteGroupOrRoleAction<DeleteRoleActionDefinition>
protected String getConfirmationDialogBody()
getConfirmationDialogBody
in class AbstractDeleteGroupOrRoleAction<DeleteRoleActionDefinition>
protected String getConfirmationDialogProceedLabel()
getConfirmationDialogProceedLabel
in class AbstractDeleteGroupOrRoleAction<DeleteRoleActionDefinition>
protected String getConfirmationDialogCancelLabel()
getConfirmationDialogCancelLabel
in class AbstractDeleteGroupOrRoleAction<DeleteRoleActionDefinition>
protected String getBaseErrorMessage()
getBaseErrorMessage
in class AbstractDeleteGroupOrRoleAction<DeleteRoleActionDefinition>
protected String getVerificationErrorMessage()
getVerificationErrorMessage
in class AbstractDeleteGroupOrRoleAction<DeleteRoleActionDefinition>
AbstractDeleteGroupOrRoleAction.getAssignedUsersAndGroups()
method) fails.Copyright © 2015 Magnolia International Ltd.. All rights reserved.