Interface HvlOAuthProfileRoleGroupRelOperationalManager

All Known Implementing Classes:
HvlOAuthProfileRoleGroupRelOperationalManagerImpl

@Validated public interface HvlOAuthProfileRoleGroupRelOperationalManager
A service in which includes custom methods used to persist/retrieve data.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    deleteAllByProfileId(@NotNull Long profileId)
    Delete all by profile id.
    void
    deleteAllByProfileIdAndRoleGroupIdSet(@NotNull Long profileId, @NotEmpty Set<@NotNull Long> roleGroupIdSet)
    Delete profile role group relation by tag id list and profile id.
    merge(@NotNull Long profileId, @Size(max=100) Set<@NotNull Long> roleGroupIdSetToAdd, @Size(max=100) Set<@NotNull Long> roleGroupIdSetToRemove)
    Merge profile role rel with list to add and set to remove.
  • Method Details

    • merge

      Long merge(@NotNull @NotNull Long profileId, @Size(max=100) @Size(max=100) Set<@NotNull Long> roleGroupIdSetToAdd, @Size(max=100) @Size(max=100) Set<@NotNull Long> roleGroupIdSetToRemove)
      Merge profile role rel with list to add and set to remove.
      Parameters:
      profileId - the profile id
      roleGroupIdSetToAdd - the role group id set to add
      roleGroupIdSetToRemove - the role group id set to remove
      Returns:
      the profile id
    • deleteAllByProfileIdAndRoleGroupIdSet

      void deleteAllByProfileIdAndRoleGroupIdSet(@NotNull @NotNull Long profileId, @NotEmpty @NotEmpty Set<@NotNull Long> roleGroupIdSet)
      Delete profile role group relation by tag id list and profile id.
      Parameters:
      profileId - the profile id
      roleGroupIdSet - the role id set
    • deleteAllByProfileId

      void deleteAllByProfileId(@NotNull @NotNull Long profileId)
      Delete all by profile id.
      Parameters:
      profileId - the profile id