Interface HvlOAuthTrustedProxyRoleRelOperationalManager

All Known Implementing Classes:
HvlOAuthTrustedProxyRoleRelOperationalManagerImpl

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

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

    • merge

      void merge(@NotNull @NotNull Long trustedProxyId, @Size(max=100) @Size(max=100) Set<@NotNull Long> roleIdSetToAdd, @Size(max=100) @Size(max=100) Set<@NotNull Long> roleIdSetToRemove, @NotNull @NotNull Optional<Long> sourceTrustedProxyIdToCopy)
      Merge trusted proxy role relations.
      Parameters:
      trustedProxyId - the trusted proxy id
      roleIdSetToAdd - the role id set to add
      roleIdSetToRemove - the role id set to remove
      sourceTrustedProxyIdToCopy - the source trusted 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 trusted proxy role relations.
      Parameters:
      proxyId - the proxy id
      roleIdSetToAdd - the role id set to add
      roleIdSetToRemove - the role id set to remove
    • deleteAllByTrustedProxyId

      void deleteAllByTrustedProxyId(@NotNull @NotNull Long trustedProxyId)
      Delete all by trusted proxy id.
      Parameters:
      trustedProxyId - the predefined proxy id
    • deleteAllByRoleId

      void deleteAllByRoleId(@NotNull @NotNull Long roleId)
      Delete all 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 by profile id set role id set.
      Parameters:
      profileIdSet - the profile id set
      roleIdSet - the role id set
    • deleteAllByProfileIdRoleId

      default void deleteAllByProfileIdRoleId(@NotNull @NotNull Long profileId, @NotEmpty @NotEmpty Set<@NotNull Long> roleIdSet)
      Delete trusted proxy role relation by profile id and role id set.
      Parameters:
      profileId - the profile id
      roleIdSet - the role id set
    • deleteAllByRoleIdSet

      void deleteAllByRoleIdSet(@NotNull @NotNull Set<@NotNull Long> roleIdSetToRemove)
      Delete all by role id set.
      Parameters:
      roleIdSetToRemove - the role id set to remove