Interface IdentifierService

    • Method Detail

      • addIdentifier

        int addIdentifier​(@NotNull
                          @NotNull UUID targetEntityKey,
                          @NotNull @Valid
                          @NotNull @Valid Identifier identifier)
        Add a new Identifier to a target entity.
        Parameters:
        targetEntityKey - key of target entity
        identifier - Identifier to add
        Returns:
        key of Identifier added
      • deleteIdentifier

        void deleteIdentifier​(@NotNull
                              @NotNull UUID targetEntityKey,
                              int identifierKey)
        Delete an existing Identifier from a target entity by identifier key.
        Parameters:
        targetEntityKey - key of target entity
        identifierKey - Identifier key to delete
      • listIdentifiers

        List<IdentifierlistIdentifiers​(@NotNull
                                         @NotNull UUID targetEntityKey)
        List all identifiers of a target entity.
        Parameters:
        targetEntityKey - key of target entity
        Returns:
        list of identifiers that belong to the entity