public static Iterable<Dataset> datasets(@Nullable UUID key, @Nullable DatasetType type, DatasetService ds, OrganizationService os, InstallationService is, NetworkService ns, NodeService nos)
key
- a valid dataset, organization or installation key. If null all datasets will be iterated overIllegalArgumentException
- if given key is not existingpublic static Iterable<Dataset> datasets(@Nullable UUID key, @Nullable DatasetType type, DatasetService ds, OrganizationService os, InstallationService is, NetworkService ns, NodeService nos, int pageSize)
key
- a valid dataset, organization or installation key. If null all datasets will be iterated overpageSize
- to use when talking to the registryIllegalArgumentException
- if given key is not existingpublic static Iterable<Dataset> datasets(@Nullable DatasetType type, DatasetService service)
type
- an optional filter to just include the given dataset typepublic static Iterable<DatasetSearchResult> datasetSearchResults(@Nullable DatasetSearchRequest datasetSearchRequest, DatasetSearchService datasetSearchService, @Nullable Integer limit)
public static Iterable<Dataset> publishedDatasets(UUID key, @Nullable DatasetType type, OrganizationService service)
key
- a valid organization keytype
- an optional filter to just include the given dataset typepublic static Iterable<Dataset> hostedDatasets(UUID key, @Nullable DatasetType type, OrganizationService service)
key
- a valid organization keytype
- an optional filter to just include the given dataset typepublic static Iterable<Dataset> hostedDatasets(UUID key, @Nullable DatasetType type, InstallationService service)
key
- a valid installation keytype
- an optional filter to just include the given dataset typepublic static Iterable<Dataset> constituentDatasets(UUID key, DatasetService service)
key
- a valid dataset keypublic static Iterable<Dataset> networkDatasets(UUID key, @Nullable DatasetType type, NetworkService service)
key
- a valid network keytype
- an optional filter to just include the given dataset typepublic static Iterable<Dataset> endorsedDatasets(UUID nodeKey, @Nullable DatasetType type, NodeService service)
nodeKey
- a valid endorsing node keytype
- an optional filter to just include the given dataset typepublic static Iterable<Dataset> datasetsIterable(Function<PagingRequest,PagingResponse<Dataset>> pager)
pager
- producer function of next page responsepublic static Iterable<Organization> organizations(@Nullable Country country, OrganizationService service)
country
- an optional country filterpublic static Iterable<Organization> endorsedOrganizations(UUID nodeKey, NodeService service)
nodeKey
- a valid endorsing node keypublic static Iterable<Node> nodes(NodeService service)
public static Iterable<DownloadStatistics> downloadStatistics(OccurrenceDownloadService service, @Nullable Date fromDate, @Nullable Date toDate, @Nullable Country publishingCountry, @Nullable UUID datasetKey, @Nullable UUID publishingOrgKey, @Nullable Integer limit)
public static Iterable<DatasetOccurrenceDownloadUsage> datasetOccurrenceDownloadUsages(OccurrenceDownloadService service, String downloadKey, @Nullable Integer limit)
public static Iterable<CollectionView> collections(CollectionSearchRequest searchRequest, CollectionService service, @Nullable Integer limit)
CollectionService.list(CollectionSearchRequest)
.public static Iterable<Institution> institutions(InstitutionSearchRequest searchRequest, InstitutionService service, @Nullable Integer limit)
InstitutionService.list(InstitutionSearchRequest)
.Copyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.