Interface ListPagingAndSortingRepository<T,ID>
- All Superinterfaces:
PagingAndSortingRepository<T,
,ID> Repository<T,
ID>
@NoRepositoryBean
public interface ListPagingAndSortingRepository<T,ID>
extends PagingAndSortingRepository<T,ID>
Repository fragment to provide methods to retrieve entities using the pagination and sorting abstraction. This an
extension to
PagingAndSortingRepository
returning List
instead of Iterable
where applicable.- Author:
- Oliver Gierke, Jens Schauder
- See Also:
-
Method Summary
Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAll
-
Method Details
-
findAll
Returns all entities sorted by the given options.- Specified by:
findAll
in interfacePagingAndSortingRepository<T,
ID> - Parameters:
sort
- theSort
specification to sort the results by, can beSort.unsorted()
, must not be null.- Returns:
- all entities sorted by the given options
-