com.vaadin.hilla.crud.

Interface ListService<T>

All Known Subinterfaces:

CrudService<T,ID>

All Known Implementing Classes:

CrudRepositoryService, ListRepositoryService

public interface ListService<T>

A browser-callable service that can list the given type of object.

  • Method Summary

    Modifier and Type
    Method
    Description
    @NonNull List<@NonNull 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.

  • Method Details

    • list

      @NonNull List<@NonNull 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