Package org.gbif.api.util.iterables
Class DatasetOccurrenceDownloadUsagesPager
- java.lang.Object
-
- org.gbif.api.util.iterables.BasePager<DatasetOccurrenceDownloadUsage>
-
- org.gbif.api.util.iterables.DatasetOccurrenceDownloadUsagesPager
-
- All Implemented Interfaces:
Iterable<DatasetOccurrenceDownloadUsage>
public class DatasetOccurrenceDownloadUsagesPager extends BasePager<DatasetOccurrenceDownloadUsage>
Iterates over results ofOccurrenceDownloadService.listDatasetUsages(String, Pageable)
.
-
-
Constructor Summary
Constructors Constructor Description DatasetOccurrenceDownloadUsagesPager(OccurrenceDownloadService service, String downloadKey, int pageSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PagingResponse<DatasetOccurrenceDownloadUsage>
nextPage(PagingRequest page)
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
DatasetOccurrenceDownloadUsagesPager
public DatasetOccurrenceDownloadUsagesPager(OccurrenceDownloadService service, String downloadKey, int pageSize)
-
-
Method Detail
-
nextPage
public PagingResponse<DatasetOccurrenceDownloadUsage> nextPage(PagingRequest page)
- Specified by:
nextPage
in classBasePager<DatasetOccurrenceDownloadUsage>
-
-