Interface HvlOAuthProfileGroupRoleGroupRelOperationalManager
- All Known Implementing Classes:
HvlOAuthProfileGroupRoleGroupRelOperationalManagerImpl
@Validated
public interface HvlOAuthProfileGroupRoleGroupRelOperationalManager
A service in which includes custom methods used to persist/retrieve data.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteAllByProfileGroupId
(@NotNull Long profileGroupId) Delete all by profile group id.void
deleteAllByProfileGroupIdAndRoleGroupIdSet
(@NotNull Long profileGroupId, @NotEmpty Set<@NotNull Long> roleGroupIdSet) Delete all by profile group id and role id set.merge
(@NotNull Long profileGroupId, @Size(max=100) Set<@NotNull Long> profileIdSetToAdd, @Size(max=100) Set<@NotNull Long> profileIdSetToRemove) Merge.
-
Method Details
-
merge
@Validated(tr.com.havelsan.javarch.data.commons.validation.HvlTransientValidationGroup.class) Long merge(@NotNull @NotNull Long profileGroupId, @Size(max=100) @Size(max=100) Set<@NotNull Long> profileIdSetToAdd, @Size(max=100) @Size(max=100) Set<@NotNull Long> profileIdSetToRemove) Merge.- Parameters:
profileGroupId
- the profile group idprofileIdSetToAdd
- the profile id set to addprofileIdSetToRemove
- the profile id set to remove- Returns:
- the long
-
deleteAllByProfileGroupIdAndRoleGroupIdSet
void deleteAllByProfileGroupIdAndRoleGroupIdSet(@NotNull @NotNull Long profileGroupId, @NotEmpty @NotEmpty Set<@NotNull Long> roleGroupIdSet) Delete all by profile group id and role id set.- Parameters:
profileGroupId
- the profile group idroleGroupIdSet
- the role group id set
-
deleteAllByProfileGroupId
Delete all by profile group id.- Parameters:
profileGroupId
- the profile group id
-