Interface HvlOAuthProxyRoleRelOperationalManager

All Known Implementing Classes:
HvlOAuthProxyRoleRelOperationalManagerImpl

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

    Modifier and Type
    Method
    Description
    default void
    deleteAllByProfileIdRoleIdSet(@NotNull Long profileId, @Size(max=100) @NotEmpty Set<@NotNull Long> roleIdSet)
    Instantiates a new Delete all by profile role id set.
    void
    deleteAllByProfileIdSetRoleIdSet(@Size(max=100) @NotEmpty Set<@NotNull Long> profileIdSet, @Size(max=100) @NotEmpty Set<@NotNull Long> roleIdSet)
    Delete all proxy role relation by profile id and role id set.
    void
    deleteAllByProxyId(@NotNull Long proxyId)
    Delete proxy role relation by proxy id.
    void
    deleteAllByRoleId(@NotNull Long roleId)
    Delete proxy role relation by role id.
    void
    deleteAllByTrustedProxyIdRoleIdSet(@NotNull Long trustedProxyId, @NotEmpty Set<@NotNull Long> roleIdSet)
    Delete all proxy role relation by trusted proxy id and role id set.
    default void
    merge(@NotNull Long proxyId, @Size(max=100) Set<@NotNull Long> roleIdSetToAdd, @Size(max=100) Set<@NotNull Long> roleIdSetToRemove)
    Merge proxy role relations.
    void
    merge(@NotNull Long proxyId, @Size(max=100) Set<@NotNull Long> roleIdSetToAdd, @Size(max=100) Set<@NotNull Long> roleIdSetToRemove, @NotNull Optional<Long> sourceProxyIdToCopy)
    Merge proxy role relations.
  • Method Details

    • merge

      void merge(@NotNull @NotNull Long proxyId, @Size(max=100) @Size(max=100) Set<@NotNull Long> roleIdSetToAdd, @Size(max=100) @Size(max=100) Set<@NotNull Long> roleIdSetToRemove, @NotNull @NotNull Optional<Long> sourceProxyIdToCopy)
      Merge proxy role relations.
      Parameters:
      proxyId - the proxy id
      roleIdSetToAdd - the role id set to add
      roleIdSetToRemove - the role id set to remove
      sourceProxyIdToCopy - the source proxy id to copy
    • merge

      default void merge(@NotNull @NotNull Long proxyId, @Size(max=100) @Size(max=100) Set<@NotNull Long> roleIdSetToAdd, @Size(max=100) @Size(max=100) Set<@NotNull Long> roleIdSetToRemove)
      Merge proxy role relations.
      Parameters:
      proxyId - the proxy id
      roleIdSetToAdd - the role id set to add
      roleIdSetToRemove - the role id set to remove
    • deleteAllByProxyId

      void deleteAllByProxyId(@NotNull @NotNull Long proxyId)
      Delete proxy role relation by proxy id.
      Parameters:
      proxyId - the proxy id
    • deleteAllByRoleId

      void deleteAllByRoleId(@NotNull @NotNull Long roleId)
      Delete proxy role relation by role id.
      Parameters:
      roleId - the role id
    • deleteAllByProfileIdSetRoleIdSet

      void deleteAllByProfileIdSetRoleIdSet(@Size(max=100) @NotEmpty @Size(max=100) @NotEmpty Set<@NotNull Long> profileIdSet, @Size(max=100) @NotEmpty @Size(max=100) @NotEmpty Set<@NotNull Long> roleIdSet)
      Delete all proxy role relation by profile id and role id set.
      Parameters:
      profileIdSet - the profile id set
      roleIdSet - the role id set
    • deleteAllByProfileIdRoleIdSet

      default void deleteAllByProfileIdRoleIdSet(@NotNull @NotNull Long profileId, @Size(max=100) @NotEmpty @Size(max=100) @NotEmpty Set<@NotNull Long> roleIdSet)
      Instantiates a new Delete all by profile role id set.
      Parameters:
      profileId - the profile id
      roleIdSet - the role id set
    • deleteAllByTrustedProxyIdRoleIdSet

      void deleteAllByTrustedProxyIdRoleIdSet(@NotNull @NotNull Long trustedProxyId, @NotEmpty @NotEmpty Set<@NotNull Long> roleIdSet)
      Delete all proxy role relation by trusted proxy id and role id set.
      Parameters:
      trustedProxyId - the trusted proxy id
      roleIdSet - the role id set