public interface NetworkService extends NetworkEntityService<Network>
Modifier and Type | Method and Description |
---|---|
void |
addConstituent(@NotNull UUID networkKey,
@NotNull UUID datasetKey)
Adds an existing dataset to the list of constituents of a network.
|
PagingResponse<Network> |
list(NetworkRequestSearchParams searchParams)
Provides paging service to list networks that can be filtered by multiple parameters.
|
PagingResponse<Dataset> |
listConstituents(@NotNull UUID networkKey,
Pageable page)
Pages through dataset constituents of a network, i.e.
|
PagingResponse<Organization> |
publishingOrganizations(@NotNull UUID networkKey,
Pageable page)
Pages through publishing organizations of a network.
|
void |
removeConstituent(@NotNull UUID networkKey,
@NotNull UUID datasetKey)
Removes an existing constituent dataset from a network.
|
List<KeyTitleResult> |
suggest(String q)
Provides a simple suggest service.
|
create, delete, get, getTitles, list, listByIdentifier, listByIdentifier, listByMachineTag, search, update
addMachineTag, addMachineTag, addMachineTag, deleteMachineTag, deleteMachineTags, deleteMachineTags, deleteMachineTags, deleteMachineTags, listMachineTags
addTag, addTag, deleteTag, listTags
addComment, deleteComment, listComments
addIdentifier, deleteIdentifier, listIdentifiers
addEndpoint, deleteEndpoint, listEndpoints
addContact, deleteContact, listContacts, updateContact
PagingResponse<Dataset> listConstituents(@NotNull @NotNull UUID networkKey, @Nullable Pageable page)
networkKey
- the network identifierPagingResponse<Organization> publishingOrganizations(@NotNull @NotNull UUID networkKey, @Nullable Pageable page)
networkKey
- the network identifiervoid addConstituent(@NotNull @NotNull UUID networkKey, @NotNull @NotNull UUID datasetKey)
networkKey
- the network to add the dataset todatasetKey
- the dataset to be addedvoid removeConstituent(@NotNull @NotNull UUID networkKey, @NotNull @NotNull UUID datasetKey)
networkKey
- the network to remove the dataset fromdatasetKey
- the dataset to be removedList<KeyTitleResult> suggest(@Nullable String q)
PagingResponse<Network> list(NetworkRequestSearchParams searchParams)
searchParams
- NetworkRequestSearchParams
Copyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.