|
Spring Data Commmons | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PagingAndSortingRepository<T,ID extends Serializable>
Extension of Repository
to provide additional methods to retrieve
entities using the pagination and sorting abstraction.
Sort
,
Pageable
,
Page
Method Summary | |
---|---|
Page<T> |
findAll(Pageable pageable)
Returns a Page of entities meeting the paging restriction
provided in the Pageable object. |
List<T> |
findAll(Sort sort)
Returns all entities sorted by the given options. |
Methods inherited from interface org.springframework.data.repository.Repository |
---|
count, delete, delete, deleteAll, exists, findAll, findById, save, save |
Method Detail |
---|
List<T> findAll(Sort sort)
sort
-
Page<T> findAll(Pageable pageable)
Page
of entities meeting the paging restriction
provided in the Pageable
object.
pageable
-
|
Spring Data Commmons | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |