Modifier and Type |
Method and Description |
PageThreadProjection |
addContentItem(ThreadProjection contentItem) |
PageThreadProjection |
content(List<ThreadProjection> content) |
PageThreadProjection |
empty(Boolean empty) |
boolean |
equals(Object o) |
PageThreadProjection |
first(Boolean first) |
static PageThreadProjection |
fromJson(String jsonString)
Create an instance of PageThreadProjection given an JSON string
|
List<ThreadProjection> |
getContent()
Get content
|
Boolean |
getEmpty()
Get empty
|
Boolean |
getFirst()
Get first
|
Boolean |
getLast()
Get last
|
Integer |
getNumber()
Get number
|
Integer |
getNumberOfElements()
Get numberOfElements
|
PageableObject |
getPageable()
Get pageable
|
Integer |
getSize()
Get size
|
Sort |
getSort()
Get sort
|
Long |
getTotal()
Get total
|
Long |
getTotalElements()
Get totalElements
|
Integer |
getTotalPages()
Get totalPages
|
int |
hashCode() |
PageThreadProjection |
last(Boolean last) |
PageThreadProjection |
number(Integer number) |
PageThreadProjection |
numberOfElements(Integer numberOfElements) |
PageThreadProjection |
pageable(PageableObject pageable) |
void |
setContent(List<ThreadProjection> content) |
void |
setEmpty(Boolean empty) |
void |
setFirst(Boolean first) |
void |
setLast(Boolean last) |
void |
setNumber(Integer number) |
void |
setNumberOfElements(Integer numberOfElements) |
void |
setPageable(PageableObject pageable) |
void |
setSize(Integer size) |
void |
setSort(Sort sort) |
void |
setTotal(Long total) |
void |
setTotalElements(Long totalElements) |
void |
setTotalPages(Integer totalPages) |
PageThreadProjection |
size(Integer size) |
PageThreadProjection |
sort(Sort sort) |
String |
toJson()
Convert an instance of PageThreadProjection to an JSON string
|
String |
toString() |
PageThreadProjection |
total(Long total) |
PageThreadProjection |
totalElements(Long totalElements) |
PageThreadProjection |
totalPages(Integer totalPages) |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|