Package org.gbif.api.service.registry
Interface NetworkService
- All Superinterfaces:
CommentService,ContactService,EndpointService,IdentifierService,MachineTagService,NetworkEntityService<Network>,TagService
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddConstituent(@NotNull UUID networkKey, @NotNull UUID datasetKey) Adds an existing dataset to the list of constituents of a network.list(NetworkRequestSearchParams searchParams) Provides paging service to list networks that can be filtered by multiple parameters.listConstituents(@NotNull UUID networkKey, Pageable page) Pages through dataset constituents of a network, i.e.publishingOrganizations(@NotNull UUID networkKey, Pageable page) Pages through publishing organizations of a network.voidremoveConstituent(@NotNull UUID networkKey, @NotNull UUID datasetKey) Removes an existing constituent dataset from a network.Provides a simple suggest service.Methods inherited from interface org.gbif.api.service.registry.CommentService
addComment, deleteComment, listCommentsMethods inherited from interface org.gbif.api.service.registry.ContactService
addContact, deleteContact, listContacts, updateContactMethods inherited from interface org.gbif.api.service.registry.EndpointService
addEndpoint, deleteEndpoint, listEndpointsMethods inherited from interface org.gbif.api.service.registry.IdentifierService
addIdentifier, deleteIdentifier, listIdentifiersMethods inherited from interface org.gbif.api.service.registry.MachineTagService
addMachineTag, addMachineTag, addMachineTag, deleteMachineTag, deleteMachineTags, deleteMachineTags, deleteMachineTags, deleteMachineTags, listMachineTagsMethods inherited from interface org.gbif.api.service.registry.NetworkEntityService
create, delete, get, getTitles, list, listByIdentifier, listByIdentifier, listByMachineTag, search, updateMethods inherited from interface org.gbif.api.service.registry.TagService
addTag, addTag, deleteTag, listTags
-
Method Details
-
listConstituents
PagingResponse<Dataset> listConstituents(@NotNull @NotNull UUID networkKey, @Nullable Pageable page) Pages through dataset constituents of a network, i.e. returns datasets which have an entry in the dataset_network table.- Parameters:
networkKey- the network identifier
-
publishingOrganizations
PagingResponse<Organization> publishingOrganizations(@NotNull @NotNull UUID networkKey, @Nullable Pageable page) Pages through publishing organizations of a network.- Parameters:
networkKey- the network identifier
-
addConstituent
Adds an existing dataset to the list of constituents of a network.- Parameters:
networkKey- the network to add the dataset todatasetKey- the dataset to be added
-
removeConstituent
Removes an existing constituent dataset from a network.- Parameters:
networkKey- the network to remove the dataset fromdatasetKey- the dataset to be removed
-
suggest
Provides a simple suggest service. -
list
Provides paging service to list networks that can be filtered by multiple parameters.- Parameters:
searchParams-NetworkRequestSearchParams- Returns:
- list of networks ordered by creation date with the latest coming first
-