public final class PageableFieldValidator extends Object
Constructor and Description |
---|
PageableFieldValidator(Class entityClass,
String fieldName,
javax.ws.rs.core.UriInfo uri)
Creates the validator.
|
Modifier and Type | Method and Description |
---|---|
int |
getLimit()
Returns a value of Limit paging parameter.
|
int |
getOffset()
Returns a value of Offset paging parameter.
|
boolean |
isFeatureApplicable()
Checks if request is valid.
|
public boolean isFeatureApplicable() throws JPARSException
JPARSException
- in case of any validation errors.public int getOffset()
public int getLimit()
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference