Interface AttributeChangeListener

All Known Implementing Classes:
EventAuditingAttributeChangeListener
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface AttributeChangeListener
Interface of the user profile attribute change listener.
Author:
Vlastimil Elias <velias@redhat.com>
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onChange(String name, UserModel user, List<String> oldValue)
    Method called for each user attribute change.
  • Method Details

    • onChange

      void onChange(String name, UserModel user, List<String> oldValue)
      Method called for each user attribute change.
      Parameters:
      name - of the changed user attribute
      user - model where new attribute value is applied already (can be null if attribute is removed)
      oldValue - of the attribute before the change (can be null)