Uses of Interface
org.springframework.data.domain.Slice
Packages that use Slice
Package
Description
Central domain abstractions especially to be used in combination with the
Repository
abstraction.Value types representing geo-spatial concepts.
Integration with Spring MVC.
-
Uses of Slice in org.springframework.data.domain
Subinterfaces of Slice in org.springframework.data.domainClasses in org.springframework.data.domain that implement SliceModifier and TypeClassDescriptionclass
PageImpl<T>
BasicPage
implementation.class
SliceImpl<T>
Default implementation ofSlice
.Methods in org.springframework.data.domain that return Slice -
Uses of Slice in org.springframework.data.geo
Classes in org.springframework.data.geo that implement Slice -
Uses of Slice in org.springframework.data.web
Methods in org.springframework.data.web with parameters of type SliceModifier and TypeMethodDescriptionprotected <R extends RepresentationModel<?>,
S>
SlicedModel<R>SlicedResourcesAssembler.createSlicedModel
(List<R> resources, SlicedModel.SliceMetadata metadata, Slice<S> slice) Creates theSlicedModel
to be equipped with pagination links downstream.SlicedModel<?>
SlicedResourcesAssembler.toEmptyModel
(Slice<?> slice, Class<?> type) Creates aSlicedModel
with an empty collectionEmbeddedWrapper
for the given domain type.SlicedModel<?>
SlicedResourcesAssembler.toEmptyModel
(Slice<?> slice, Class<?> type, Optional<Link> link) SlicedModel<?>
SlicedResourcesAssembler.toEmptyModel
(Slice<?> slice, Class<?> type, Link link) Creates aSlicedModel
with an empty collectionEmbeddedWrapper
for the given domain type.Creates a newSlicedModel
by converting the givenSlice
into aSlicedModel.SliceMetadata
instance and wrapping the contained elements into *SlicedModel
instances.<R extends RepresentationModel<?>>
SlicedModel<R>SlicedResourcesAssembler.toModel
(Slice<T> slice, RepresentationModelAssembler<T, R> assembler) Creates a newSlicedModel
by converting the givenSlice
into aSlicedModel.SliceMetadata
instance and using the givenSlicedModel
to turn elements of theSlice
into resources.<R extends RepresentationModel<?>>
SlicedModel<R>SlicedResourcesAssembler.toModel
(Slice<T> slice, RepresentationModelAssembler<T, R> assembler, Link link) Creates a newSlicedModel
by converting the givenSlice
into aSlicedModel.SliceMetadata
instance and using the givenSlicedModel
to turn elements of theSlice
into resources.