Package NTNU.IDATT1002.service
Interface PageableService<T>
- Type Parameters:
T- the type of entity provided
- All Known Implementing Classes:
AlbumService,ImageService
public interface PageableService<T>
Interface for services that are pageable, ie offer paginated content.
-
Method Summary
Modifier and Type Method Description Page<T>findAll(PageRequest pageRequest)Find all entities on page matching givenPageRequest.
-
Method Details
-
findAll
Find all entities on page matching givenPageRequest.- Parameters:
pageRequest- the requested page- Returns:
- the
Pagecontaining the results
-