public class PagedAgent
extends Object
implements Serializable
Constructor and Description |
---|
PagedAgent() |
Modifier and Type | Method and Description |
---|---|
PagedAgent |
addContentItem(Agent contentItem) |
PagedAgent |
addSortItem(Order sortItem) |
PagedAgent |
content(List<Agent> content) |
boolean |
equals(Object o) |
PagedAgent |
first(Boolean first) |
List<Agent> |
getContent()
Get content
|
Integer |
getNumber()
The number of the current item.
|
Integer |
getNumberOfElements()
The number of elements currently on this page.
|
Integer |
getSize()
The size of the page.
|
List<Order> |
getSort()
The sorting parameters for the page.
|
Integer |
getTotalElements()
The total amount of elements.
|
Integer |
getTotalPages()
The number of total pages.
|
int |
hashCode() |
Boolean |
isFirst()
Whether the current item is the first one.
|
Boolean |
isLast()
Whether the current item is the last one.
|
PagedAgent |
last(Boolean last) |
PagedAgent |
number(Integer number) |
PagedAgent |
numberOfElements(Integer numberOfElements) |
void |
setContent(List<Agent> content) |
void |
setFirst(Boolean first) |
void |
setLast(Boolean last) |
void |
setNumber(Integer number) |
void |
setNumberOfElements(Integer numberOfElements) |
void |
setSize(Integer size) |
void |
setSort(List<Order> sort) |
void |
setTotalElements(Integer totalElements) |
void |
setTotalPages(Integer totalPages) |
PagedAgent |
size(Integer size) |
PagedAgent |
sort(List<Order> sort) |
String |
toString() |
PagedAgent |
totalElements(Integer totalElements) |
PagedAgent |
totalPages(Integer totalPages) |
public PagedAgent content(List<Agent> content)
public PagedAgent addContentItem(Agent contentItem)
public List<Agent> getContent()
public void setContent(List<Agent> content)
public PagedAgent last(Boolean last)
public Boolean isLast()
public void setLast(Boolean last)
public PagedAgent totalPages(Integer totalPages)
public Integer getTotalPages()
public void setTotalPages(Integer totalPages)
public PagedAgent totalElements(Integer totalElements)
public Integer getTotalElements()
public void setTotalElements(Integer totalElements)
public PagedAgent numberOfElements(Integer numberOfElements)
public Integer getNumberOfElements()
public void setNumberOfElements(Integer numberOfElements)
public PagedAgent first(Boolean first)
public Boolean isFirst()
public void setFirst(Boolean first)
public PagedAgent sort(List<Order> sort)
public PagedAgent addSortItem(Order sortItem)
public List<Order> getSort()
public void setSort(List<Order> sort)
public PagedAgent size(Integer size)
public Integer getSize()
public void setSize(Integer size)
public PagedAgent number(Integer number)
public Integer getNumber()
public void setNumber(Integer number)
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object