com.xpn.xwiki.plugin.rightsmanager.utils
Class RequestLimit
java.lang.Object
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
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–2014 XWiki. All rights reserved.