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 org.springframework.hateoas.RepresentationModel<?>,
S>
org.springframework.hateoas.SlicedModel<R>SlicedResourcesAssembler.createSlicedModel
(List<R> resources, org.springframework.hateoas.SlicedModel.SliceMetadata metadata, Slice<S> slice) Creates theSlicedModel
to be equipped with pagination links downstream.org.springframework.hateoas.SlicedModel<?>
SlicedResourcesAssembler.toEmptyModel
(Slice<?> slice, Class<?> type) Creates aSlicedModel
with an empty collectionEmbeddedWrapper
for the given domain type.org.springframework.hateoas.SlicedModel<?>
SlicedResourcesAssembler.toEmptyModel
(Slice<?> slice, Class<?> type, Optional<org.springframework.hateoas.Link> link) org.springframework.hateoas.SlicedModel<?>
SlicedResourcesAssembler.toEmptyModel
(Slice<?> slice, Class<?> type, org.springframework.hateoas.Link link) Creates aSlicedModel
with an empty collectionEmbeddedWrapper
for the given domain type.org.springframework.hateoas.SlicedModel<org.springframework.hateoas.EntityModel<T>>
org.springframework.hateoas.SlicedModel<org.springframework.hateoas.EntityModel<T>>
Creates a newSlicedModel
by converting the givenSlice
into aSlicedModel.SliceMetadata
instance and wrapping the contained elements into *SlicedModel
instances.<R extends org.springframework.hateoas.RepresentationModel<?>>
org.springframework.hateoas.SlicedModel<R>SlicedResourcesAssembler.toModel
(Slice<T> slice, org.springframework.hateoas.server.RepresentationModelAssembler<T, R> assembler) <R extends org.springframework.hateoas.RepresentationModel<?>>
org.springframework.hateoas.SlicedModel<R>