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 TypeMethodDescriptionvoid
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 idroleGroupIdSetToAdd
- the role group id set to addroleGroupIdSetToRemove
- 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 idroleGroupIdSet
- the role id set
-
deleteAllByProfileId
Delete all by profile id.- Parameters:
profileId
- the profile id
-