Interface SurveyRepositoryReadOnly

All Known Implementing Classes:
SurveyRepositoryImpl

public interface SurveyRepositoryReadOnly
  • Method Summary

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

    • get

      Survey get(int id) throws NotFoundException
      Finds the survey identified by id in the database
      Parameters:
      id - the id of the survey to be found
      Returns:
      an instance of Survey if there is a survey identified by id, null otherwise
      Throws:
      NotFoundException