Interface PrimaryIdentifierService

All Superinterfaces:
IdentifierService
All Known Subinterfaces:
CollectionEntityService<T>, CollectionService, InstitutionService

  • Method Details

    • updateIdentifier

      int updateIdentifier(UUID targetEntityKey, int identifierKey, boolean isPrimary)
      Updates the specified Identifier for a target entity, setting its primary status.
      Parameters:
      targetEntityKey - the key of the target entity to which the identifier belongs
      identifierKey - the key of the identifier to be updated
      isPrimary - a boolean indicating whether the identifier should be set as primary (true) or non-primary (false)
      Returns:
      the key of the updated Identifier