Interface HvlOAuthRoleAssignerRoleGroupRelOperationalManager
- All Known Implementing Classes:
HvlOAuthRoleAssignerRoleGroupRelOperationalManagerImpl
@Validated
public interface HvlOAuthRoleAssignerRoleGroupRelOperationalManager
This manager provides operational methods.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteAllByRoleGroupId
(@NotNull Long roleGroupId) Delete role assigner role group relation by role group id.void
deleteAllByRoleId
(@NotNull Long roleId) Delete role assigner role group relation by role id.void
merge
(@NotNull Long roleId, @Size(max=100) Set<@NotNull Long> roleGroupIdSetToAdd, @Size(max=100) Set<@NotNull Long> roleGroupIdSetToRemove) Merge role assigner role group relations.
-
Method Details
-
merge
void merge(@NotNull @NotNull Long roleId, @Size(max=100) @Size(max=100) Set<@NotNull Long> roleGroupIdSetToAdd, @Size(max=100) @Size(max=100) Set<@NotNull Long> roleGroupIdSetToRemove) Merge role assigner role group relations.- Parameters:
roleId
- the role idroleGroupIdSetToAdd
- the role group id set to addroleGroupIdSetToRemove
- the role group id set to remove
-
deleteAllByRoleId
Delete role assigner role group relation by role id.- Parameters:
roleId
- the role id
-
deleteAllByRoleGroupId
Delete role assigner role group relation by role group id.- Parameters:
roleGroupId
- the role group id
-