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 TypeMethodDescriptionbooleanclientExists(Long clientId) Checks if a client with the specified ID exists in the system.static IClientValidatorRetrieves an instance of the IClientValidator using CDI.
-
Method Details
-
getInstance
Retrieves an instance of the IClientValidator using CDI.- Returns:
- an instance of IClientValidator.
-
clientExists
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.
-