@NoRepositoryBean public interface PagingAndSortingRepository<T,ID extends Serializable> extends CrudRepository<T,ID>
CrudRepository
to provide additional methods to retrieve entities using the pagination and
sorting abstraction.Modifier and Type | Method and Description |
---|---|
<S extends Sort> |
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.
|
Copyright © 2011-2016–2017 Pivotal Software, Inc.. All rights reserved.