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 Type
    Method
    Description
    void
    onWindowOpen(Locale locale, List<ExtraTransfer> extraTransfers)
    Invoked while deactivation window for user is opening.
    void
    Executed when user deactivation is completed.
  • Method Details

    • userDeactivated

      void userDeactivated(Deactivation deactivation)
      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

      void onWindowOpen(Locale locale, List<ExtraTransfer> extraTransfers)
      Invoked while deactivation window for user is opening.
      Parameters:
      locale - the current user's locale
      extraTransfers - the list which will be send to browser to show additional fields in deactivation window