Class UserIdentityHandler

All Implemented Interfaces:
IAPIHandler, IGenericHandler, IUserIdentityHandler, Serializable

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

    • UserIdentityHandler

      public UserIdentityHandler()
  • Method Details

    • getByCallback

      public UserIdentity getByCallback(UserContext uc, String identitfier, String clientName)
      Description copied from interface: IUserIdentityHandler
      Finds the user identity by the given callback information. The callback information includes the client name which identifies the SystemAuthenticator or authenticator type and the user identity identifier.
      Specified by:
      getByCallback in interface IUserIdentityHandler
      Parameters:
      uc - User context for accessing the database.
      identitfier - Identifier of the user identity.
      clientName - Identifies the SystemAuthenticator or authenticator type.
      Returns:
      The user identity matching the callback information.
    • getByRemovalUuid

      public UserIdentity getByRemovalUuid(UserContext uc, UUID removalUuid)
      Description copied from interface: IUserIdentityHandler
      Finds the user identity with the given removal UUID.
      Specified by:
      getByRemovalUuid in interface IUserIdentityHandler
      Parameters:
      uc - User context for accessing the database.
      removalUuid - of the user identity to be removed
      Returns:
      the user identity with the given removal UUID or null if no user identity was found for the given removal UUID.
    • getExisting

      public UserIdentity getExisting(UserContext uc, UserIdentity identity)
      Description copied from interface: IUserIdentityHandler
      Gets another user identity with the same identifier information (client/identifier) if it exists.
      Specified by:
      getExisting in interface IUserIdentityHandler
      Parameters:
      uc - User context for accessing the database.
      identity - to check.
      Returns:
      the user identity with the same identifier information (client/identifier) if it exists and null otherwise.
    • isExisting

      public boolean isExisting(UserContext uc, UserIdentity identity)
      Description copied from interface: IUserIdentityHandler
      Checks whether or not another user identity exists with the same identifier information (client/identifier).
      Specified by:
      isExisting in interface IUserIdentityHandler
      Parameters:
      uc - User context for accessing the database.
      identity - to check.
      Returns:
      true if there exists another user identity with the same identifier information (client/identifier) and false otherwise.