Interface HousesDTORepository

All Known Implementing Classes:
HousesDTORepositoryMapImpl

public interface HousesDTORepository
  • Method Details

    • save

      HouseDTO save(HouseDTO house)
    • findById

      Optional<HouseDTO> findById(String id)
    • existsById

      boolean existsById(String id)
    • findAll

      org.springframework.data.domain.Page<HouseDTO> findAll(org.springframework.data.domain.Pageable pageable)
    • count

      long count()
    • deleteById

      void deleteById(String id)
    • deleteAll

      void deleteAll()
    • findAll

      org.springframework.data.domain.Page<HouseDTO> findAll(org.springframework.data.domain.Example<HouseDTO> example, org.springframework.data.domain.Pageable pageable)
    • findByPeopleBetween

      org.springframework.data.domain.Page<HouseDTO> findByPeopleBetween(int minPeople, int maxPeople, org.springframework.data.domain.Pageable pageable)
    • findByBedroomsBetween

      org.springframework.data.domain.Page<HouseDTO> findByBedroomsBetween(int minBedrooms, int maxBedrooms, org.springframework.data.domain.Pageable pageable)
    • findByDailyRateBetween

      org.springframework.data.domain.Page<HouseDTO> findByDailyRateBetween(BigDecimal minDailyRate, BigDecimal maxDailyRate, org.springframework.data.domain.Pageable pageable)