Interface ClinicRepository
- All Superinterfaces:
CrudRepository<Clinic,Integer>, GenericRepository<Clinic, Integer>
-
Method Summary
Methods inherited from interface CrudRepository
count, delete, deleteAll, deleteAll, deleteById, existsById, findAll, insert, insertAll, save, saveAll, update, updateAll
-
Method Details
-
findById
Description copied from interface:CrudRepositoryRetrieves an entity by its id.- Specified by:
findByIdin interfaceCrudRepository<Clinic,Integer> - Parameters:
id- The ID of the entity to retrieve. Must not be null.- Returns:
- the entity with the given id or Optional#empty() if none found
-