com.atlassian.core.util.bean
Class PagerFilter
java.lang.Object
com.atlassian.core.util.bean.PagerFilter
- All Implemented Interfaces:
- Serializable
public class PagerFilter
- extends Object
- implements Serializable
This is a super class that implements paging for browsers.
Most other filters (which want paging ability) will extend this.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PagerFilter
public PagerFilter()
getCurrentPage
public <T> Collection<T> getCurrentPage(Collection<T> itemsCol)
- Get the current page out of a list of items - won't work well on any collection that isn't a list
getMax
public int getMax()
setMax
public void setMax(int max)
getStart
public int getStart()
setStart
public void setStart(int start)
getEnd
public int getEnd()
getNextStart
public int getNextStart()
getPreviousStart
public int getPreviousStart()
Copyright © 2015 Atlassian. All rights reserved.