|
Spring Data Core | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@NoRepositoryBean public interface PagingAndSortingRepository<T,ID extends Serializable>
Extension of CrudRepository
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. |
Iterable<T> |
findAll(Sort sort)
Returns all entities sorted by the given options. |
Methods inherited from interface org.springframework.data.repository.CrudRepository |
---|
count, delete, delete, delete, deleteAll, exists, findAll, findAll, findOne, save, save |
Method Detail |
---|
Iterable<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 Core | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |