public interface EndpointService
Endpoint
.Modifier and Type | Method and Description |
---|---|
int |
addEndpoint(@NotNull UUID targetEntityKey,
@NotNull @Valid Endpoint endpoint)
Add a new Endpoint to a target entity.
|
void |
deleteEndpoint(@NotNull UUID targetEntityKey,
int endpointKey)
Delete an existing Endpoint from a target entity by endpoint key.
|
List<Endpoint> |
listEndpoints(@NotNull UUID targetEntityKey)
List all endpoints of a target entity.
|
int addEndpoint(@NotNull @NotNull UUID targetEntityKey, @NotNull @Valid @NotNull @Valid Endpoint endpoint)
targetEntityKey
- key of target entityendpoint
- Endpoint to addvoid deleteEndpoint(@NotNull @NotNull UUID targetEntityKey, int endpointKey)
targetEntityKey
- key of target entityendpointKey
- Endpoint key to deleteList<Endpoint> listEndpoints(@NotNull @NotNull UUID targetEntityKey)
targetEntityKey
- key of target entityCopyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.