Interface AccountLifecycle.Notifier

All Known Implementing Classes:
AccountLifecycleMailer
Enclosing class:
AccountLifecycle

public static interface AccountLifecycle.Notifier
Tells the owners of the accounts what happens to them.
  • Method Details

    • passwordWillExpire

      void passwordWillExpire(UserProfile profile, Date expires)
      Tells the owner that the password is going to expire. If this throws, the owner is told again at the next pass.
      Parameters:
      profile - the profile of the account
      expires - the day the password expires
    • accountLocked

      void accountLocked(UserProfile profile, Date deleted)
      Tells the owner that the account has been locked.
      Parameters:
      profile - the profile of the account
      deleted - the day the account is deleted, or null if it is not
    • accountDeleted

      void accountDeleted(UserProfile profile)
      Tells the owner that the account has been deleted.
      Parameters:
      profile - the profile of the account that has been deleted