Interface LibraryRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<Library,​java.lang.Long>, org.springframework.data.repository.Repository<Library,​java.lang.Long>

public interface LibraryRepository
extends org.springframework.data.repository.CrudRepository<Library,​java.lang.Long>
  • Method Summary

    Modifier and Type Method Description
    boolean existsById​(java.lang.Long id)  
    java.util.List<Library> findByName​(java.lang.String firstname)  

    Methods inherited from interface org.springframework.data.repository.CrudRepository

    count, delete, deleteAll, deleteAll, deleteById, findAll, findAllById, findById, save, saveAll
  • Method Details

    • findByName

      java.util.List<Library> findByName​(java.lang.String firstname)
    • existsById

      boolean existsById​(java.lang.Long id)
      Specified by:
      existsById in interface org.springframework.data.repository.CrudRepository<Library,​java.lang.Long>