Interface IClientValidator


  • public interface IClientValidator
    Validator interface for checking the existence of clients in the system.
    Since:
    8.5.0
    Author:
    Norman Lorenz
    • Method Detail

      • getInstance

        static IClientValidator getInstance()
        Retrieves an instance of the IClientValidator using CDI.
        Returns:
        an instance of IClientValidator.
      • clientExists

        boolean clientExists​(Long clientId)
        Checks if a client with the specified ID exists in the system.
        Parameters:
        clientId - the ID of the client to check for existence.
        Returns:
        true if a client with the specified ID exists, false otherwise.