com.atlassian.core.util.bean
Class PagerFilter

java.lang.Object
  extended bycom.atlassian.core.util.bean.PagerFilter
All Implemented Interfaces:
java.io.Serializable

public class PagerFilter
extends java.lang.Object
implements java.io.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

Constructor Summary
PagerFilter()
           
 
Method Summary
 java.util.Collection getCurrentPage(java.util.Collection itemsCol)
          Get the current page out of a list of items - won't work well on any collection that isn't a list
 int getEnd()
           
 int getMax()
           
 int getNextStart()
           
 int getPreviousStart()
           
 int getStart()
           
 void setMax(int max)
           
 void setStart(int start)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PagerFilter

public PagerFilter()
Method Detail

getCurrentPage

public java.util.Collection getCurrentPage(java.util.Collection 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 © 2008 Atlassian Pty Ltd. All Rights Reserved.