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 given PageRequest.
  • Method Details

    • findAll

      Page<T> findAll​(PageRequest pageRequest)
      Find all entities on page matching given PageRequest.
      Parameters:
      pageRequest - the requested page
      Returns:
      the Page containing the results