Interface HvlOAuthTrustedProxyUserRelOperationalManager

All Known Implementing Classes:
HvlOAuthTrustedProxyUserRelOperationalManagerImpl

@Validated public interface HvlOAuthTrustedProxyUserRelOperationalManager
This manager provides operational methods.
  • Method Details

    • merge

      void merge(@NotNull @NotNull Long trustedProxyId, @Size(max=100) @Size(max=100) Set<@NotNull Long> userIdSetToAdd, @Size(max=100) @Size(max=100) Set<@NotNull Long> userIdSetToRemove, @NotNull @NotNull Optional<Long> sourceTrustedProxyIdToCopy)
      Merge trusted proxy user relations.
      Parameters:
      trustedProxyId - the trusted proxy id
      userIdSetToAdd - the user id set to add
      userIdSetToRemove - the user id set to remove
      sourceTrustedProxyIdToCopy - the source trusted proxy id to copy
    • merge

      default void merge(@NotNull @NotNull Long trustedProxyId, @Size(max=100) @Size(max=100) Set<@NotNull Long> userIdSetToAdd, @Size(max=100) @Size(max=100) Set<@NotNull Long> userIdSetToRemove)
      Merge trusted proxy user relations.
      Parameters:
      trustedProxyId - the trusted proxy id
      userIdSetToAdd - the user id set to add
      userIdSetToRemove - the user id set to remove
    • deleteAllByTrustedProxyId

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

      void deleteAllByUserId(@NotNull @NotNull Long userId)
      Delete all by user id.
      Parameters:
      userId - the user id
    • deleteAllByTrustedProxyAndUserId

      void deleteAllByTrustedProxyAndUserId(@NotNull @NotNull Long trustedProxyId, @NotNull @NotNull Long userId)
      Delete all by user id.
      Parameters:
      trustedProxyId - the trusted proxy id
      userId - the user id
    • getUsernameByTrustedProxyIdAndUserId

      String getUsernameByTrustedProxyIdAndUserId(@NotNull @NotNull Long trustedProxyId, @NotNull @NotNull Long userId)
      Gets username by trusted proxy
      Parameters:
      trustedProxyId - the trusted proxy id
      userId - the user id
      Returns:
      the string