Package org.fcrepo.search.api
Class PaginationInfo
- java.lang.Object
-
- org.fcrepo.search.api.PaginationInfo
-
public class PaginationInfo extends Object
A data structure representing the pagination information associated with aSearchResult- Author:
- dbernstein
-
-
Constructor Summary
Constructors Constructor Description PaginationInfo()Default constructorPaginationInfo(int maxResults, int offset)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetMaxResults()The max results of the original queryintgetOffset()The offset specified by original query
-
-
-
Constructor Detail
-
PaginationInfo
public PaginationInfo()
Default constructor
-
PaginationInfo
public PaginationInfo(int maxResults, int offset)
Constructor- Parameters:
maxResults- max results asked offoffset- offset of the first result item
-
-
Method Detail
-
getMaxResults
public int getMaxResults()
The max results of the original query- Returns:
-
getOffset
public int getOffset()
The offset specified by original query- Returns:
-
-