Package com.jalios.jcms
Class PagerParams
- java.lang.Object
-
- com.jalios.jcms.PagerParams
-
public class PagerParams extends java.lang.Object
Convenient holder for pager params.- Since:
- jcms-10.0
- Author:
- Sylvain Devaux
-
-
Constructor Summary
Constructors Constructor Description PagerParams()
PagerParams(PagerParams other)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getPageSize()
java.lang.String
getSort()
int
getStart()
boolean
isPagerAll()
boolean
isReverse()
PagerParams
pagerAll(boolean pagerAll)
PagerParams
pageSize(int pageSize)
PagerParams
reverse(boolean reverse)
PagerParams
sort(java.lang.String sort)
PagerParams
start(int start)
java.lang.String
toString()
-
-
-
Constructor Detail
-
PagerParams
public PagerParams()
-
PagerParams
public PagerParams(PagerParams other)
-
-
Method Detail
-
getSort
public java.lang.String getSort()
-
sort
public PagerParams sort(java.lang.String sort)
-
isReverse
public boolean isReverse()
-
reverse
public PagerParams reverse(boolean reverse)
-
getStart
public int getStart()
-
start
public PagerParams start(int start)
-
getPageSize
public int getPageSize()
-
pageSize
public PagerParams pageSize(int pageSize)
-
isPagerAll
public boolean isPagerAll()
-
pagerAll
public PagerParams pagerAll(boolean pagerAll)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-