org.exoplatform.social.common
Class ListAccessValidator
java.lang.Object
org.exoplatform.social.common.ListAccessValidator
public class ListAccessValidator
- extends Object
Validates input information of list access.
- Since:
- 1.2.0-GA
|
Method Summary |
static void |
validateIndex(int offset,
int limit,
int size)
Validates index of list access. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListAccessValidator
public ListAccessValidator()
validateIndex
public static void validateIndex(int offset,
int limit,
int size)
throws IllegalArgumentException
- Validates index of list access.
- Parameters:
offset - Start index.limit - End index.size - The size of list.
- Throws:
IllegalArgumentException
Copyright © 2003–2014 eXo Platform SAS. All rights reserved.