Changeset 276a8b6 for src/main/java/it/finki/charitable/repository
- Timestamp:
- 10/07/21 20:07:41 (3 years ago)
- Branches:
- master
- Children:
- 0c37625
- Parents:
- 0f4f552
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/it/finki/charitable/repository/DonationPostRepository.java
r0f4f552 r276a8b6 4 4 import it.finki.charitable.entities.DonationPost; 5 5 import it.finki.charitable.entities.Moderator; 6 import org.springframework.data.domain.Page; 7 import org.springframework.data.domain.Pageable; 6 8 import org.springframework.data.jpa.repository.JpaRepository; 7 9 import org.springframework.stereotype.Repository; … … 14 16 List<DonationPost> findAllByApproved(Boolean approved); 15 17 List<DonationPost> findAllByModerator(Moderator moderator); 18 Page<DonationPost> findAllByApproved(Pageable pageable, boolean approved); 16 19 }
Note:
See TracChangeset
for help on using the changeset viewer.