Package 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
-
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 sortingfilter
- the filter to apply ornull
to not filter- Returns:
- a list of objects or an empty list if no objects were found
-