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

    Modifier and Type
    Interface
    Description
    interface 
    Page<T>
    A page is a sublist of a list of objects.
    Classes in org.springframework.data.domain that implement Slice
    Modifier and Type
    Class
    Description
    class 
    Basic Page implementation.
    class 
    Default implementation of Slice.
    Methods in org.springframework.data.domain that return Slice
    Modifier and Type
    Method
    Description
    <U> Slice<U>
    Slice.map(Function<? super T,? extends U> converter)
    Returns a new Slice with the content of the current one mapped by the given Converter.
    <U> Slice<U>
    SliceImpl.map(Function<? super T,? extends U> converter)
     
  • Uses of Slice in org.springframework.data.geo

    Classes in org.springframework.data.geo that implement Slice
    Modifier and Type
    Class
    Description
    class 
    Custom Page to carry the average distance retrieved from the GeoResults the GeoPage is set up from.
  • Uses of Slice in org.springframework.data.web

    Methods in org.springframework.data.web with parameters of type Slice
    Modifier and Type
    Method
    Description
    protected <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 the SlicedModel to be equipped with pagination links downstream.
    org.springframework.hateoas.SlicedModel<?>
    SlicedResourcesAssembler.toEmptyModel(Slice<?> slice, Class<?> type)
    Creates a SlicedModel with an empty collection EmbeddedWrapper 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 a SlicedModel with an empty collection EmbeddedWrapper for the given domain type.
    org.springframework.hateoas.SlicedModel<org.springframework.hateoas.EntityModel<T>>
    SlicedResourcesAssembler.toModel(Slice<T> entity)
     
    org.springframework.hateoas.SlicedModel<org.springframework.hateoas.EntityModel<T>>
    SlicedResourcesAssembler.toModel(Slice<T> slice, org.springframework.hateoas.Link selfLink)
    Creates a new SlicedModel by converting the given Slice into a SlicedModel.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)
    Creates a new SlicedModel by converting the given Slice into a SlicedModel.SliceMetadata instance and using the given SlicedModel to turn elements of the Slice into resources.
    <R extends org.springframework.hateoas.RepresentationModel<?>>
    org.springframework.hateoas.SlicedModel<R>
    SlicedResourcesAssembler.toModel(Slice<T> slice, org.springframework.hateoas.server.RepresentationModelAssembler<T,R> assembler, org.springframework.hateoas.Link link)
    Creates a new SlicedModel by converting the given Slice into a SlicedModel.SliceMetadata instance and using the given SlicedModel to turn elements of the Slice into resources.