com.xpn.xwiki.plugin.rightsmanager.utils
Class RequestLimit

java.lang.Object
  extended by com.xpn.xwiki.plugin.rightsmanager.utils.RequestLimit

public class RequestLimit
extends Object

Contains maximum number of result to return and index of the first element.

Since:
XWiki Core 1.1.2, XWiki Core 1.2M2
Version:
$Id: 60a9531851edf04b5fb138c485aa8b4239bd1410 $

Constructor Summary
RequestLimit(int nb, int start)
          Construct new instance of RequestLimit with provided nb and start.
 
Method Summary
 int getNb()
           
 int getStart()
           
 void setNb(int nb)
           
 void setStart(int start)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestLimit

public RequestLimit(int nb,
                    int start)
Construct new instance of RequestLimit with provided nb and start.

Parameters:
nb - the maximum number of result to return.
start - the index of the first found element to return.
Method Detail

setNb

public void setNb(int nb)
Parameters:
nb - the maximum number of result to return.

getNb

public int getNb()
Returns:
the maximum number of result to return.

setStart

public void setStart(int start)
Parameters:
start - the index of the first found element to return.

getStart

public int getStart()
Returns:
the index of the first found element to return.


Copyright © 2004-2013 XWiki. All Rights Reserved.