Interface IClientValidator


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

    Modifier and Type
    Method
    Description
    boolean
    clientExists(Long clientId)
    Checks if a client with the specified ID exists in the system.
    Retrieves an instance of the IClientValidator using CDI.
  • Method Details

    • 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.