Class SearchResultImpl
java.lang.Object
org.opencastproject.oaipmh.persistence.impl.SearchResultImpl
- All Implemented Interfaces:
SearchResult
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetItems()The search item listlonggetLimit()Get the limit.longGet the offset.longsize()Get the total number of items found, limited by the value returned bySearchResult.getLimit().
-
Constructor Details
-
SearchResultImpl
-
-
Method Details
-
getItems
Description copied from interface:SearchResultThe search item list- Specified by:
getItemsin interfaceSearchResult- Returns:
- Item list.
-
size
public long size()Description copied from interface:SearchResultGet the total number of items found, limited by the value returned bySearchResult.getLimit().- Specified by:
sizein interfaceSearchResult- Returns:
- The number.
-
getOffset
public long getOffset()Description copied from interface:SearchResultGet the offset.- Specified by:
getOffsetin interfaceSearchResult- Returns:
- The offset.
-
getLimit
public long getLimit()Description copied from interface:SearchResultGet the limit.- Specified by:
getLimitin interfaceSearchResult- Returns:
- The limit.
-