public class UserRemoveAction extends RemoveAction
RemoveAction.AfterRemoveHandler
BaseAction.EnabledRule
Action.ActionPerformedEvent, Action.AdjustWhenScreenReadOnly, Action.BeforeActionPerformedHandler, Action.DisabledWhenScreenReadOnly, Action.ExecutableAction, Action.HasBeforeActionPerformedHandler, Action.HasOpenType, Action.HasPrimaryState, Action.HasSecurityConstraint, Action.HasTarget, Action.SecuredAction, Action.Status
Modifier and Type | Field and Description |
---|---|
protected UserSession |
userSession |
ACTION_ID, afterRemoveHandler, autocommit, beforeActionPerformedHandler, confirm, confirmationMessage, confirmationTitle
constraintCode, constraintOperationType, security
target
caption, description, enabled, eventHub, icon, id, owners, primary, shortcut, visible
PROP_CAPTION, PROP_DESCRIPTION, PROP_ENABLED, PROP_ICON, PROP_SHORTCUT, PROP_VISIBLE
Constructor and Description |
---|
UserRemoveAction(ListComponent target,
UserManagementService userManagementService) |
Modifier and Type | Method and Description |
---|---|
protected void |
afterRemove(java.util.Set removedItems)
Hook invoked after remove.
|
protected void |
initEnabledRules(UserManagementService userManagementService) |
actionPerform, checkRemovePermission, confirmAndRemove, create, create, create, doRemove, getBeforeActionPerformedHandler, getConfirmationMessage, getConfirmationTitle, isAutocommit, isConfirm, isPermitted, remove, setAfterRemoveHandler, setAutocommit, setBeforeActionPerformedHandler, setConfirm, setConfirmationMessage, setConfirmationTitle
getConstraintCode, getConstraintOperationType, isApplicable, setConstraintCode, setConstraintOperationType
getTarget, setTarget, withCaption, withDescription, withHandler, withIcon, withPrimary, withShortcut
addActionPerformedListener, addEnabledRule, isEnabledByRule, isEnabledByUiPermissions, isVisibleByUiPermissions, refreshState, removeEnabledRule, setEnabled, setEnabledByUiPermissions, setEnabledInternal, setVisible, setVisibleByUiPermissions, setVisibleInternal
addOwner, addPropertyChangeListener, firePropertyChange, getCaption, getDefaultCaption, getDescription, getEventHub, getIcon, getId, getOwner, getOwners, getShortcutCombination, hasSubscriptions, isEnabled, isPrimary, isVisible, removeOwner, removePropertyChangeListener, setCaption, setDescription, setIcon, setIconFromSet, setPrimary, setShortcut, setShortcutCombination
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addOwner, addPropertyChangeListener, getCaption, getDescription, getIcon, getId, getOwner, getOwners, getShortcutCombination, isEnabled, isVisible, refreshState, removeOwner, removePropertyChangeListener, setCaption, setDescription, setEnabled, setIcon, setIconFromSet, setShortcut, setShortcutCombination, setVisible
protected UserSession userSession
public UserRemoveAction(ListComponent target, UserManagementService userManagementService)
protected void afterRemove(java.util.Set removedItems)
RemoveAction
afterRemove
in class RemoveAction
removedItems
- set of removed instancesprotected void initEnabledRules(UserManagementService userManagementService)