Class FindUserByLoginUseCase
java.lang.Object
com.mirna.hospitalmanagementapi.application.usecase.user.FindUserByLoginUseCase
This class is used to execute the findUserByLogin method
- Version:
- 1.0
- Author:
- Mirna Gama
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FindUserByLoginUseCase
public FindUserByLoginUseCase()
-
-
Method Details
-
execute
Executes the findUserByLogin method from User repository- Parameters:
login- A string representing the user's system login- Returns:
- The corresponding user information if successful, or null if it is non-existent
-