Interface HvlOAuthTrustedProxyUserRelOperationalManager
- All Known Implementing Classes:
HvlOAuthTrustedProxyUserRelOperationalManagerImpl
@Validated
public interface HvlOAuthTrustedProxyUserRelOperationalManager
This manager provides operational methods.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteAllByTrustedProxyAndUserId
(@NotNull Long trustedProxyId, @NotNull Long userId) Delete all by user id.void
deleteAllByTrustedProxyId
(@NotNull Long trustedProxyId) Delete by trusted proxy id.void
deleteAllByUserId
(@NotNull Long userId) Delete all by user id.getUsernameByTrustedProxyIdAndUserId
(@NotNull Long trustedProxyId, @NotNull Long userId) Gets username by trusted proxydefault void
merge
(@NotNull Long trustedProxyId, @Size(max=100) Set<@NotNull Long> userIdSetToAdd, @Size(max=100) Set<@NotNull Long> userIdSetToRemove) Merge trusted proxy user relations.void
merge
(@NotNull Long trustedProxyId, @Size(max=100) Set<@NotNull Long> userIdSetToAdd, @Size(max=100) Set<@NotNull Long> userIdSetToRemove, @NotNull Optional<Long> sourceTrustedProxyIdToCopy) Merge trusted proxy user relations.
-
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 iduserIdSetToAdd
- the user id set to adduserIdSetToRemove
- the user id set to removesourceTrustedProxyIdToCopy
- 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 iduserIdSetToAdd
- the user id set to adduserIdSetToRemove
- the user id set to remove
-
deleteAllByTrustedProxyId
Delete by trusted proxy id.- Parameters:
trustedProxyId
- the trusted proxy id
-
deleteAllByUserId
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 iduserId
- the user id
-
getUsernameByTrustedProxyIdAndUserId
String getUsernameByTrustedProxyIdAndUserId(@NotNull @NotNull Long trustedProxyId, @NotNull @NotNull Long userId) Gets username by trusted proxy- Parameters:
trustedProxyId
- the trusted proxy iduserId
- the user id- Returns:
- the string
-