Interface HvlOAuthRoleAssignerRoleGroupRelOperationalManager

All Known Implementing Classes:
HvlOAuthRoleAssignerRoleGroupRelOperationalManagerImpl

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

    Modifier and Type
    Method
    Description
    void
    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 id
      roleGroupIdSetToAdd - the role group id set to add
      roleGroupIdSetToRemove - the role group id set to remove
    • deleteAllByRoleId

      void deleteAllByRoleId(@NotNull @NotNull Long roleId)
      Delete role assigner role group relation by role id.
      Parameters:
      roleId - the role id
    • deleteAllByRoleGroupId

      void deleteAllByRoleGroupId(@NotNull @NotNull Long roleGroupId)
      Delete role assigner role group relation by role group id.
      Parameters:
      roleGroupId - the role group id