com.jalios.jcms.rest
Class PagerData
java.lang.Object
com.jalios.jcms.rest.PagerData
- All Implemented Interfaces:
- Iterable<Object>
public class PagerData
- extends Object
- implements Iterable<Object>
This object contains the business logic that takes parameters in j2eeRequest and create the
pagerHandler associated.
It is iterable, and the iteration is done through objects contained in the colelction set by setCollection()
and for the scope computed by the parameters.
- Since:
- JCMS-6.0
- Author:
- dissert
Constructor Summary |
PagerData(org.restlet.data.Request request,
javax.servlet.http.HttpServletRequest j2eeRequest)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PagerData
public PagerData(org.restlet.data.Request request,
javax.servlet.http.HttpServletRequest j2eeRequest)
getPageSize
public int getPageSize()
hasRequestPagerData
public boolean hasRequestPagerData()
getStart
public int getStart()
setStart
public void setStart(int start)
getSort
public String getSort()
setSort
public void setSort(String sort)
isReverse
public boolean isReverse()
setReverse
public void setReverse(boolean reverse)
isCollection
public boolean isCollection()
setCollection
public void setCollection(Collection collection)
getCollectionTagName
public String getCollectionTagName()
setCollectionTagName
public void setCollectionTagName(String collectionTagName)
getItemTagName
public String getItemTagName()
setItemTagName
public void setItemTagName(String itemTagName)
iterator
public Iterator iterator()
- Specified by:
iterator
in interface Iterable<Object>
toXmlString
public String toXmlString()
getTotal
public int getTotal()
Copyright © 2001-2010 Jalios SA. All Rights Reserved.