Package xyz.juandiii.commons.utils
Class Pagination
- java.lang.Object
-
- xyz.juandiii.commons.utils.Pagination
-
public class Pagination extends Object
-
-
Constructor Summary
Constructors Constructor Description Pagination(Integer page, Integer limit, boolean more)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetLimit()IntegergetPage()booleanisMore()static PaginationpaginationObject(Integer page, Integer limit, boolean more)PaginationsetLimit(Integer limit)PaginationsetMore(boolean more)PaginationsetPage(Integer page)
-
-
-
Method Detail
-
paginationObject
public static Pagination paginationObject(Integer page, Integer limit, boolean more)
-
getPage
public Integer getPage()
-
setPage
public Pagination setPage(Integer page)
-
getLimit
public Integer getLimit()
-
setLimit
public Pagination setLimit(Integer limit)
-
isMore
public boolean isMore()
-
setMore
public Pagination setMore(boolean more)
-
-