Class UserEmailHandler

All Implemented Interfaces:
IAPIHandler, IGenericHandler, IUserEmailHandler, Serializable

public class UserEmailHandler extends GenericHandler implements IUserEmailHandler
Handler implementation for reading and writing UserEmail entities.
Since:
8.0.0
Author:
XIMA Media GmbH
See Also:
  • Constructor Details

    • UserEmailHandler

      public UserEmailHandler()
  • Method Details

    • getByAddress

      public List<UserEmail> getByAddress(UserContext uc, String address)
      Description copied from interface: IUserEmailHandler
      Finds the user email entities with the given address. There may be multiple user email entities with the same address. But there can only be one verified user email with the given address.
      Specified by:
      getByAddress in interface IUserEmailHandler
      Parameters:
      uc - user context for accessing the database.
      address - of the user email entity (case irrelevant).
      Returns:
      A list of user email entities with the given email address.
    • getByVerifiedAddress

      public UserEmail getByVerifiedAddress(UserContext uc, String address)
      Description copied from interface: IUserEmailHandler
      Finds the verified user email entity with the given address. There may only be one verified user email entity with the given address.
      Specified by:
      getByVerifiedAddress in interface IUserEmailHandler
      Parameters:
      uc - user context for accessing the database.
      address - of the verified user email entity (case irrelevant).
      Returns:
      The verified user email entity with the given email address or null.