Interface CategoryRepositoryReadOnly

All Known Implementing Classes:
CategoryRepositoryImpl

public interface CategoryRepositoryReadOnly
  • Method Summary

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

    • get

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