Package io.jmix.securityui.action
Class ResetPasswordAction
java.lang.Object
io.jmix.ui.action.AbstractAction
io.jmix.ui.action.BaseAction
io.jmix.ui.action.ListAction
io.jmix.ui.action.list.SecuredListAction
io.jmix.securityui.action.ResetPasswordAction
- All Implemented Interfaces:
- Action,- Action.AdjustWhenScreenReadOnly,- Action.ExecutableAction,- Action.HasPrimaryState,- Action.HasSecurityConstraint,- Action.HasTarget,- Action.SecuredAction
@StudioAction(target="io.jmix.ui.component.ListComponent",
              description="Resets the password of the UserDetails instance")
@ActionType("resetPassword")
public class ResetPasswordAction
extends SecuredListAction
implements Action.ExecutableAction, Action.AdjustWhenScreenReadOnly
- 
Nested Class SummaryNested classes/interfaces inherited from class io.jmix.ui.action.BaseActionBaseAction.EnabledRuleNested classes/interfaces inherited from interface io.jmix.ui.action.ActionAction.ActionPerformedEvent, Action.AdjustWhenScreenReadOnly, Action.ExecutableAction, Action.HasPrimaryState, Action.HasSecurityConstraint, Action.HasTarget, Action.MainTabSheetAction, Action.ScreenOpeningAction, Action.SecuredAction, Action.Status
- 
Field SummaryFieldsFields inherited from class io.jmix.ui.action.list.SecuredListActionaccessManager, applicationContext, constraintEntityOp, metadataFields inherited from class io.jmix.ui.action.ListActiontargetFields inherited from class io.jmix.ui.action.AbstractActioncaption, description, enabled, eventHub, icon, id, owners, primary, shortcut, visibleFields inherited from interface io.jmix.ui.action.ActionPROP_CAPTION, PROP_DESCRIPTION, PROP_ENABLED, PROP_ICON, PROP_SHORTCUT, PROP_VISIBLE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidactionPerform(Component component) Invoked by owning component to execute the action.voidexecute()Executes the action.protected booleanCallback method which is invoked by the action to determine its enabled state.protected voidsetMessages(Messages messages) voidsetScreenBuilders(ScreenBuilders screenBuilders) Methods inherited from class io.jmix.ui.action.list.SecuredListActiongetConstraintEntityOp, isApplicable, setAccessManager, setApplicationContext, setConstraintEntityOp, setMetadataMethods inherited from class io.jmix.ui.action.ListActiongetTarget, setTarget, withCaption, withDescription, withHandler, withIcon, withPrimary, withShortcutMethods inherited from class io.jmix.ui.action.BaseActionaddActionPerformedListener, addEnabledRule, isEnabledByRule, isEnabledByUiPermissions, isVisibleByUiPermissions, refreshState, removeEnabledRule, setEnabled, setEnabledByUiPermissions, setEnabledInternal, setVisible, setVisibleByUiPermissions, setVisibleInternalMethods inherited from class io.jmix.ui.action.AbstractActionaddOwner, addPropertyChangeListener, firePropertyChange, getCaption, getDescription, getEventHub, getIcon, getId, getOwner, getOwners, getShortcutCombination, hasSubscriptions, isEnabled, isPrimary, isVisible, removeOwner, removePropertyChangeListener, setCaption, setDescription, setIcon, setPrimary, setShortcut, setShortcutCombinationMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.jmix.ui.action.ActionaddOwner, addPropertyChangeListener, getCaption, getDescription, getIcon, getId, getOwner, getOwners, getShortcutCombination, isEnabled, isVisible, refreshState, removeOwner, removePropertyChangeListener, setCaption, setDescription, setEnabled, setIcon, setShortcut, setShortcutCombination, setVisibleMethods inherited from interface io.jmix.ui.action.Action.AdjustWhenScreenReadOnlyisDisabledWhenScreenReadOnly
- 
Field Details- 
ID- See Also:
 
- 
messages
 
- 
- 
Constructor Details- 
ResetPasswordActionpublic ResetPasswordAction()
- 
ResetPasswordAction
 
- 
- 
Method Details- 
setScreenBuilders
- 
setMessages
- 
isPermittedprotected boolean isPermitted()Description copied from class:BaseActionCallback method which is invoked by the action to determine its enabled state.- Overrides:
- isPermittedin class- SecuredListAction
- Returns:
- true if the action is enabled for the current user
 
- 
actionPerformDescription copied from interface:ActionInvoked by owning component to execute the action.- Specified by:
- actionPerformin interface- Action
- Overrides:
- actionPerformin class- BaseAction
- Parameters:
- component- invoking component
 
- 
executepublic void execute()Executes the action.- Specified by:
- executein interface- Action.ExecutableAction
 
 
-