Package org.gbif.api.util.iterables
Class OrganizationPager
- java.lang.Object
-
- org.gbif.api.util.iterables.BasePager<T>
-
- org.gbif.api.util.iterables.OrganizationPager
-
- All Implemented Interfaces:
Iterable<Organization>
public class OrganizationPager extends BasePager<T>
Pages through all organizations optionally filtering by country.
-
-
Constructor Summary
Constructors Constructor Description OrganizationPager(OrganizationService service, Country country, int pageSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PagingResponse<Organization>
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
-
OrganizationPager
public OrganizationPager(OrganizationService service, @Nullable Country country, int pageSize)
-
-
Method Detail
-
nextPage
public PagingResponse<Organization> nextPage(PagingRequest page)
- Specified by:
nextPage
in classBasePager<Organization>
-
-