public interface PrimaryIdentifierService extends IdentifierService
Modifier and Type | Method and Description |
---|---|
int |
updateIdentifier(UUID targetEntityKey,
int identifierKey,
boolean isPrimary)
Updates the specified Identifier for a target entity, setting its primary status.
|
addIdentifier, deleteIdentifier, listIdentifiers
int updateIdentifier(UUID targetEntityKey, int identifierKey, boolean isPrimary)
targetEntityKey
- the key of the target entity to which the identifier belongsidentifierKey
- the key of the identifier to be updatedisPrimary
- a boolean indicating whether the identifier should be set as primary
(true) or non-primary (false)Copyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.