Interface HvlOAuthAuthorityTagRelOperationalManager

All Known Implementing Classes:
HvlOAuthAuthorityTagRelOperationalManagerImpl

@Validated public interface HvlOAuthAuthorityTagRelOperationalManager
This manager provides operational methods.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    deleteAllByAuthorityIdAndTagId(@NotNull Long authorityId, @NotEmpty Set<@NotNull Long> tagIdSet)
    Delete authority tag relation by tag id list and authority id.
    void
    deleteAllByTagId(@NotNull Long tagId)
    Delete authority tag relations by tag id.
    void
    deleteAllByTagUuid(@NotBlank @Size(min=36,max=36) String tagUuid)
    Delete authority tag relations by tag uuid.
    void
    merge(@NotNull @Valid HvlOAuthAuthorityTagPersistModel authorityTagPersistModel)
    Merge authority tag rel with list to add and set to remove.
  • Method Details

    • merge

      void merge(@NotNull @Valid @NotNull @Valid HvlOAuthAuthorityTagPersistModel authorityTagPersistModel)
      Merge authority tag rel with list to add and set to remove.
      Parameters:
      authorityTagPersistModel - the authority tag persist model
    • deleteAllByAuthorityIdAndTagId

      void deleteAllByAuthorityIdAndTagId(@NotNull @NotNull Long authorityId, @NotEmpty @NotEmpty Set<@NotNull Long> tagIdSet)
      Delete authority tag relation by tag id list and authority id.
      Parameters:
      authorityId - the authority id
      tagIdSet - the tag id set
    • deleteAllByTagId

      void deleteAllByTagId(@NotNull @NotNull Long tagId)
      Delete authority tag relations by tag id.
      Parameters:
      tagId - the tag id
    • deleteAllByTagUuid

      void deleteAllByTagUuid(@NotBlank @Size(min=36,max=36) @NotBlank @Size(min=36,max=36) String tagUuid)
      Delete authority tag relations by tag uuid.
      Parameters:
      tagUuid - the tag uuid