Interface DeactivationHook
- All Known Implementing Classes:
DeactivationHookAdapter
public interface DeactivationHook
User deactivation hook. Used to perform additional operations linked to user deactivation action.
- Author:
- Janusz SoszyĆski 2016.07.05
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onWindowOpen
(Locale locale, List<ExtraTransfer> extraTransfers) Invoked while deactivation window for user is opening.void
userDeactivated
(Deactivation deactivation) Executed when user deactivation is completed.
-
Method Details
-
userDeactivated
Executed when user deactivation is completed.
User deactivation will be rollback if this method throws exception.- Parameters:
deactivation
- all input parameters necessary to execute user deactivation. Includes information like: login of user to deactivate, target user logins to transfer his tasks etc.
-
onWindowOpen
Invoked while deactivation window for user is opening.- Parameters:
locale
- the current user's localeextraTransfers
- the list which will be send to browser to show additional fields in deactivation window
-