Interface CloseEndedAnswerRepositoryReadOnly

All Known Implementing Classes:
CloseEndedAnswerRepositoryImpl

public interface CloseEndedAnswerRepositoryReadOnly
  • Method Summary

    Modifier and Type
    Method
    Description
    get(int id)
    Finds the CloseEndedAnswer identified by id in the database.
  • Method Details

    • get

      CloseEndedAnswer get(int id) throws NotFoundException
      Finds the CloseEndedAnswer identified by id in 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 by id has been found