Interface SortingRepository<E,​ID>

  • Type Parameters:
    E - Concrete type of the entity to be managed by the repository.
    ID - Concrete type of the entity's id.

    public interface SortingRepository<E,​ID>
    Interface for a repository with sorted reading operations.
    • Method Detail

      • findAll

        java.lang.Iterable<E> findAll​(SortingData sortingData)
        Returns all entities using the given sortingData.
        Parameters:
        sortingData - A SortingData object that indicates how sorting must be performed.
        Returns:
        All entities, applying sorting according to the given sortingData.