public class Pager<T> extends Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_PAGE_SIZE |
static String |
PAGE_INDEX |
static String |
PAGE_SIZE |
Modifier and Type | Method and Description |
---|---|
String |
getFirstPageUrl() |
int |
getLastPageIndex() |
String |
getLastPageUrl() |
String |
getNextPageUrl() |
Page<T> |
getPage() |
int |
getPageIndex() |
int |
getPageSize() |
String |
getPreviousPageUrl() |
int |
getTotalNumberOfPages() |
int |
getTotalSize() |
boolean |
isHasNextPage() |
boolean |
isHasPreviousPage() |
void |
setPage(Page<T> page) |
void |
setPageFromFilteredList(List<T> results,
int totalSize) |
void |
setPageFromList(List<T> results) |
void |
setPageIndex(int pageIndex) |
void |
setPageSize(int pageSize) |
void |
setUrlString(String url) |
public static final int DEFAULT_PAGE_SIZE
public static final String PAGE_INDEX
public static final String PAGE_SIZE
public void setUrlString(String url)
public String getFirstPageUrl()
public String getPreviousPageUrl()
public String getNextPageUrl()
public String getLastPageUrl()
public int getLastPageIndex()
public int getTotalSize()
public int getTotalNumberOfPages()
public boolean isHasNextPage()
public boolean isHasPreviousPage()
public int getPageSize()
public void setPageSize(int pageSize)
public int getPageIndex()
public void setPageIndex(int pageIndex)
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.