Interface HvlOAuthAuthorityProfileGroupRelOperationalManager
- All Known Implementing Classes:
HvlOAuthAuthorityProfileGroupRelOperationalManagerImpl
@Validated
public interface HvlOAuthAuthorityProfileGroupRelOperationalManager
This manager provides operational methods.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteAllByAuthorityId
(@NotNull Long authorityId) Delete all by profile group id.void
deleteAllByProfileGroupId
(@NotNull Long profileGroupId) Delete all by profile group id.void
deleteAllByProfileGroupUuid
(@NotBlank @Size(min=36,max=36) String profileGroupUuid) Delete all by profile group uuid.void
merge
(@NotNull Long id, @Size(max=100) Set<Long> profileGroupIdSetToAdd, @Size(max=100) Set<Long> profileGroupIdSetToRemove) Merge authority profile group relations.void
merge
(@NotNull @Valid HvlOAuthAuthorityProfileGroupPersistModel authAuthorityProfileGroupPersistModel) Merge.
-
Method Details
-
merge
void merge(@NotNull @Valid @NotNull @Valid HvlOAuthAuthorityProfileGroupPersistModel authAuthorityProfileGroupPersistModel) Merge.- Parameters:
authAuthorityProfileGroupPersistModel
- the auth authority profile group persist model
-
deleteAllByProfileGroupId
Delete all by profile group id.- Parameters:
profileGroupId
- the profile group id
-
deleteAllByAuthorityId
Delete all by profile group id.- Parameters:
authorityId
- the authority id
-
deleteAllByProfileGroupUuid
void deleteAllByProfileGroupUuid(@NotBlank @Size(min=36,max=36) @NotBlank @Size(min=36,max=36) String profileGroupUuid) Delete all by profile group uuid.- Parameters:
profileGroupUuid
- the profile group uuid
-
merge
void merge(@NotNull @NotNull Long id, @Size(max=100) @Size(max=100) Set<Long> profileGroupIdSetToAdd, @Size(max=100) @Size(max=100) Set<Long> profileGroupIdSetToRemove) Merge authority profile group relations.- Parameters:
id
- the idprofileGroupIdSetToAdd
- the profile group id set to addprofileGroupIdSetToRemove
- the profile group id set to remove
-