# Uses of Interface
com.university.bookstore.repository.MaterialRepository

Packages that use MaterialRepository
Package
Description
com.university.bookstore.repository
com.university.bookstore.search
com.university.bookstore.service

- ## Uses of MaterialRepository in com.university.bookstore.repository

  Classes in com.university.bookstore.repository that implement MaterialRepository
  Modifier and Type
  Class
  Description
  `class`
  `JsonMaterialRepository`
  JSON-based implementation of MaterialRepository (Adapter in hexagonal architecture).
  `class`
  `ModernJsonMaterialRepository`
  Modern JSON-based implementation of MaterialRepository using best practices.

- ## Uses of MaterialRepository in com.university.bookstore.search

  Constructors in com.university.bookstore.search with parameters of type MaterialRepository
  Modifier
  Constructor
  Description
  ``
  `CachedSearchService(MaterialRepository repository, int cacheSize)`
  Creates a new cached search service.

- ## Uses of MaterialRepository in com.university.bookstore.service

  Constructors in com.university.bookstore.service with parameters of type MaterialRepository
  Modifier
  Constructor
  Description
  ``
  `MaterialService(MaterialRepository repository)`
  Creates a new material service with the specified repository.