Uses of Interface
org.springframework.data.domain.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
-
Uses of Slice in org.springframework.data.geo
-
Uses of Slice in org.springframework.data.web
Modifier 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>