Interface HousesDTORepository
- All Known Implementing Classes:
HousesDTORepositoryMapImpl
public interface HousesDTORepository
-
Method Summary
Modifier and TypeMethodDescriptionlong
count()
void
void
deleteById
(String id) boolean
existsById
(String id) org.springframework.data.domain.Page
<HouseDTO> findAll
(org.springframework.data.domain.Example<HouseDTO> example, org.springframework.data.domain.Pageable pageable) org.springframework.data.domain.Page
<HouseDTO> findAll
(org.springframework.data.domain.Pageable pageable) org.springframework.data.domain.Page
<HouseDTO> findByBedroomsBetween
(int minBedrooms, int maxBedrooms, org.springframework.data.domain.Pageable pageable) org.springframework.data.domain.Page
<HouseDTO> findByDailyRateBetween
(BigDecimal minDailyRate, BigDecimal maxDailyRate, org.springframework.data.domain.Pageable pageable) org.springframework.data.domain.Page
<HouseDTO> findByPeopleBetween
(int minPeople, int maxPeople, org.springframework.data.domain.Pageable pageable)
-
Method Details
-
save
-
findById
-
existsById
-
findAll
org.springframework.data.domain.Page<HouseDTO> findAll(org.springframework.data.domain.Pageable pageable) -
count
long count() -
deleteById
-
deleteAll
void deleteAll() -
findAll
-
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)
-