Interface HvlOAuthProxyRoleRelOperationalManager
- All Known Implementing Classes:
HvlOAuthProxyRoleRelOperationalManagerImpl
@Validated
public interface HvlOAuthProxyRoleRelOperationalManager
This manager provides operational methods.
-
Method Summary
Modifier and TypeMethodDescriptiondefault 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 idroleIdSetToAdd
- the role id set to addroleIdSetToRemove
- the role id set to removesourceProxyIdToCopy
- 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 idroleIdSetToAdd
- the role id set to addroleIdSetToRemove
- the role id set to remove
-
deleteAllByProxyId
Delete proxy role relation by proxy id.- Parameters:
proxyId
- the proxy id
-
deleteAllByRoleId
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 setroleIdSet
- 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 idroleIdSet
- 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 idroleIdSet
- the role id set
-