public class BHivePageImpl<T> extends Object implements org.springframework.data.domain.Page<T>, org.springframework.data.domain.Slice<T>
Page의 구현체인 PageImpl이
JsonView Annotaion을 처리할 수 없어서 옮겨 담기 위한 Page 구현체| Constructor and Description |
|---|
BHivePageImpl(List<T> content,
org.springframework.data.domain.Pageable pageable,
long total) |
BHivePageImpl(org.springframework.data.domain.Page<T> page) |
| Modifier and Type | Method and Description |
|---|---|
List<T> |
getContent() |
int |
getNumber() |
int |
getNumberOfElements() |
int |
getSize() |
org.springframework.data.domain.Sort |
getSort() |
long |
getTotalElements() |
int |
getTotalPages() |
boolean |
hasContent() |
boolean |
hasNext() |
boolean |
hasPrevious() |
boolean |
isFirst() |
boolean |
isLast() |
Iterator<T> |
iterator() |
<S> org.springframework.data.domain.Page<S> |
map(org.springframework.core.convert.converter.Converter<? super T,? extends S> converter) |
org.springframework.data.domain.Pageable |
nextPageable() |
org.springframework.data.domain.Pageable |
previousPageable() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic BHivePageImpl(org.springframework.data.domain.Page<T> page)
public int getNumber()
getNumber in interface org.springframework.data.domain.Slice<T>public int getSize()
getSize in interface org.springframework.data.domain.Slice<T>public int getNumberOfElements()
getNumberOfElements in interface org.springframework.data.domain.Slice<T>public List<T> getContent()
getContent in interface org.springframework.data.domain.Slice<T>public boolean hasContent()
hasContent in interface org.springframework.data.domain.Slice<T>public org.springframework.data.domain.Sort getSort()
getSort in interface org.springframework.data.domain.Slice<T>public boolean isFirst()
isFirst in interface org.springframework.data.domain.Slice<T>public boolean isLast()
isLast in interface org.springframework.data.domain.Slice<T>public boolean hasNext()
hasNext in interface org.springframework.data.domain.Slice<T>public boolean hasPrevious()
hasPrevious in interface org.springframework.data.domain.Slice<T>public org.springframework.data.domain.Pageable nextPageable()
nextPageable in interface org.springframework.data.domain.Slice<T>public org.springframework.data.domain.Pageable previousPageable()
previousPageable in interface org.springframework.data.domain.Slice<T>public int getTotalPages()
getTotalPages in interface org.springframework.data.domain.Page<T>public long getTotalElements()
getTotalElements in interface org.springframework.data.domain.Page<T>Copyright © 2018. All rights reserved.