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:
- 1.1.2, 1.2M2
- Version:
- $Id: 1597f8bdd73a0d6581e54b3bc19b8bd7831917db $
-
-
Constructor Summary
Constructors Constructor Description RequestLimit(int nb, int start)
Construct new instance of RequestLimit with provided nb and start.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getNb()
int
getStart()
void
setNb(int nb)
void
setStart(int start)
-
-
-
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.
-
-