public class FacetedPageImpl<T> extends PageImpl<T> implements FacetedPage<T>
Constructor and Description |
---|
FacetedPageImpl(List<T> content) |
FacetedPageImpl(List<T> content,
Pageable pageable,
long total) |
FacetedPageImpl(List<T> content,
Pageable pageable,
long total,
List<FacetResult> facets) |
Modifier and Type | Method and Description |
---|---|
FacetResult |
getFacet(String name) |
List<FacetResult> |
getFacets() |
boolean |
hasFacets() |
equals, getTotalElements, getTotalPages, hashCode, hasNext, hasNextPage, hasPreviousPage, isFirstPage, isLast, isLastPage, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getTotalElements, getTotalPages, hasNextPage, hasPreviousPage, isFirstPage, isLastPage
getContent, getNumber, getNumberOfElements, getSize, getSort, hasContent, hasNext, hasPrevious, isFirst, isLast, nextPageable, previousPageable
forEach, iterator, spliterator
public FacetedPageImpl(List<T> content, Pageable pageable, long total, List<FacetResult> facets)
public boolean hasFacets()
hasFacets
in interface FacetedPage<T>
public List<FacetResult> getFacets()
getFacets
in interface FacetedPage<T>
public FacetResult getFacet(String name)
getFacet
in interface FacetedPage<T>
Copyright © 2011-2014–2015 Pivotal Software, Inc.. All rights reserved.