Interface ReservationRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<Availability,UUID>, org.springframework.data.jpa.repository.JpaRepository<Availability,UUID>, org.springframework.data.repository.ListCrudRepository<Availability,UUID>, org.springframework.data.repository.ListPagingAndSortingRepository<Availability,UUID>, org.springframework.data.repository.PagingAndSortingRepository<Availability,UUID>, org.springframework.data.repository.query.QueryByExampleExecutor<Availability>, org.springframework.data.repository.Repository<Availability,UUID>

@Repository public interface ReservationRepository extends org.springframework.data.jpa.repository.JpaRepository<Availability,UUID>
Repository for the Availability entity.
  • Method Summary

    Modifier and Type
    Method
    Description
    Finds all the Availability entities associated to the given user.

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

    count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save

    Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository

    deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush

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

    findAll, findAllById, saveAll

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

    findAll

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

    findAll

    Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor

    count, exists, findAll, findBy, findOne
  • Method Details

    • findByUserId

      List<Availability> findByUserId(UUID id)
      Finds all the Availability entities associated to the given user.
      Parameters:
      id - the id of the user
      Returns:
      the list of Availability entities associated to the given user