Interface HvlOAuthRoleAssignerProfileGroupRelOperationalManager

All Known Implementing Classes:
HvlOAuthRoleAssignerProfileGroupRelOperationalManagerImpl

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

    Modifier and Type
    Method
    Description
    void
    deleteAllByProfileGroupId(@NotNull Long profileGroupId)
    Delete role assigner profile group relation by profile group id.
    void
    deleteAllByRoleId(@NotNull Long roleAssignerId)
    Delete role assigner profile group relation by role id.
    void
    merge(@NotNull Long roleId, @Size(max=100) Set<@NotNull Long> profileGroupIdSetToAdd, @Size(max=100) Set<@NotNull Long> profileGroupIdSetToRemove)
    Merge role assigner role group relations.
  • Method Details

    • merge

      void merge(@NotNull @NotNull Long roleId, @Size(max=100) @Size(max=100) Set<@NotNull Long> profileGroupIdSetToAdd, @Size(max=100) @Size(max=100) Set<@NotNull Long> profileGroupIdSetToRemove)
      Merge role assigner role group relations.
      Parameters:
      roleId - the role id
      profileGroupIdSetToAdd - the profile group id set to add
      profileGroupIdSetToRemove - the profile group id set to remove
    • deleteAllByRoleId

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

      void deleteAllByProfileGroupId(@NotNull @NotNull Long profileGroupId)
      Delete role assigner profile group relation by profile group id.
      Parameters:
      profileGroupId - the profile group id