- Type Parameters:
E
- the entity typeID
- the identifier type
- All Superinterfaces:
Data.GenericRepository<E,
ID>
- Enclosing class:
Data
A
Data.GenericRepository
that supports pagination.-
Method Summary
Modifier and TypeMethodDescriptionpages
(PageRequest pageable) ReturnPage
with all entities of theE
type.slices
(PageRequest pageable) ReturnSlice
with all entities of theE
type.
-
Method Details
-
pages
ReturnPage
with all entities of theE
type. This is pageable alternative ofData.BasicRepository.findAll()
.- Parameters:
pageable
- pageable query result as page with specified page number and size, shall not benull
- Returns:
- all entities found, never returns
null
- Throws:
DataException
- if the operation has failed
-
slices
ReturnSlice
with all entities of theE
type. This is pageable alternative ofData.BasicRepository.findAll()
.- Parameters:
pageable
- pageable query result as page with specified page number and size, shall not benull
- Returns:
- all entities found, never returns
null
- Throws:
DataException
- if the operation has failed
-