com.vaadin.flow.spring.data.

Interface ListService<T>

Type Parameters:

T - the type of object to list

All Known Subinterfaces:

CrudService<T,ID>

All Known Implementing Classes:

CrudRepositoryService, ListRepositoryService

public interface ListService<T>

A service that can list the given type of object.

  • Method Summary

    Modifier and Type
    Method
    Description
    list(org.springframework.data.domain.Pageable pageable, @Nullable Filter filter)

    Lists objects of the given type using the paging, sorting and filtering options provided in the parameters.

  • Method Details

    • list

      List<T> list(org.springframework.data.domain.Pageable pageable, @Nullable Filter filter)

      Lists objects of the given type using the paging, sorting and filtering options provided in the parameters.

      Parameters:

      pageable - contains information about paging and sorting

      filter - the filter to apply or null to not filter

      Returns:

      a list of objects or an empty list if no objects were found