Interface CloseEndedAnswerRepositoryReadOnly
- All Known Implementing Classes:
CloseEndedAnswerRepositoryImpl
public interface CloseEndedAnswerRepositoryReadOnly
-
Method Summary
Modifier and TypeMethodDescriptionget(int id) Finds the CloseEndedAnswer identified byidin the database.
-
Method Details
-
get
Finds the CloseEndedAnswer identified byidin the database.- Parameters:
id- the id of the CloseEndedAnswer to be found- Returns:
- an instance of CloseEndedAnswer if there is a close-ended answer identified by
id - Throws:
NotFoundException- if no close-ended answer identified byidhas been found
-