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