Interface UserRepositoryReadOnly
- All Known Implementing Classes:
UserRepositoryImpl
public interface UserRepositoryReadOnly
-
Method Summary
-
Method Details
-
get
Finds the user identified by id in the database- Parameters:
id
- the id of the user to be found- Returns:
- an instance of User if there is a user identified by id, null otherwise
- Throws:
NotFoundException
- if no user identified by the id has been found
-