Class HvlOAuthAuthorityProfileGroupRelOperationalManagerImpl
java.lang.Object
tr.com.havelsan.javarch.oauth.jpa.data.provider.module.authority.manager.relation.HvlOAuthAuthorityProfileGroupRelOperationalManagerImpl
- All Implemented Interfaces:
HvlOAuthAuthorityProfileGroupRelOperationalManager
@Service
public class HvlOAuthAuthorityProfileGroupRelOperationalManagerImpl
extends Object
implements HvlOAuthAuthorityProfileGroupRelOperationalManager
The class which implements
HvlOAuthAuthorityProfileGroupRelOperationalManager
.-
Constructor Summary
ConstructorDescriptionHvlOAuthAuthorityProfileGroupRelOperationalManagerImpl
(HvlOAuthAuthorityProfileGroupRelRepository authorityProfileGroupRelRepository, HvlOAuthAuthorityProfileGroupRelQueryGenerator authorityProfileGroupRelQueryGenerator, HvlOAuthAuthorityManager authorityManager, HvlOAuthAuthorityProfileGroupMapper authorityProfileGroupMapper) Instantiates a new HvlOAuthAuthorityTagRelManager. -
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 authorityId, @Size(max=100) Set<@NotNull Long> profileGroupIdSetToAdd, @Size(max=100) Set<@NotNull Long> profileGroupIdSetToRemove) Merge authority profile group relations.void
merge
(@NotNull @Valid HvlOAuthAuthorityProfileGroupPersistModel authorityProfileGroupPersistModel) Merge.
-
Constructor Details
-
HvlOAuthAuthorityProfileGroupRelOperationalManagerImpl
public HvlOAuthAuthorityProfileGroupRelOperationalManagerImpl(HvlOAuthAuthorityProfileGroupRelRepository authorityProfileGroupRelRepository, HvlOAuthAuthorityProfileGroupRelQueryGenerator authorityProfileGroupRelQueryGenerator, HvlOAuthAuthorityManager authorityManager, HvlOAuthAuthorityProfileGroupMapper authorityProfileGroupMapper) Instantiates a new HvlOAuthAuthorityTagRelManager.- Parameters:
authorityProfileGroupRelRepository
- the authority profile group rel repositoryauthorityProfileGroupRelQueryGenerator
- the authority profile group rel query generatorauthorityManager
- the authority managerauthorityProfileGroupMapper
- the authority profile group mapper
-
-
Method Details
-
merge
public void merge(@NotNull @Valid @NotNull @Valid HvlOAuthAuthorityProfileGroupPersistModel authorityProfileGroupPersistModel) Merge.- Specified by:
merge
in interfaceHvlOAuthAuthorityProfileGroupRelOperationalManager
- Parameters:
authorityProfileGroupPersistModel
- the auth authority profile group persist model
-
deleteAllByProfileGroupId
Delete all by profile group id.- Specified by:
deleteAllByProfileGroupId
in interfaceHvlOAuthAuthorityProfileGroupRelOperationalManager
- Parameters:
profileGroupId
- the profile group id
-
deleteAllByAuthorityId
Delete all by profile group id.- Specified by:
deleteAllByAuthorityId
in interfaceHvlOAuthAuthorityProfileGroupRelOperationalManager
- Parameters:
authorityId
- the authority id
-
deleteAllByProfileGroupUuid
public void deleteAllByProfileGroupUuid(@NotBlank @Size(min=36,max=36) @NotBlank @Size(min=36,max=36) String profileGroupUuid) Delete all by profile group uuid.- Specified by:
deleteAllByProfileGroupUuid
in interfaceHvlOAuthAuthorityProfileGroupRelOperationalManager
- Parameters:
profileGroupUuid
- the profile group uuid
-
merge
public void merge(@NotNull @NotNull Long authorityId, @Size(max=100) @Size(max=100) Set<@NotNull Long> profileGroupIdSetToAdd, @Size(max=100) @Size(max=100) Set<@NotNull Long> profileGroupIdSetToRemove) Merge authority profile group relations.- Specified by:
merge
in interfaceHvlOAuthAuthorityProfileGroupRelOperationalManager
- Parameters:
authorityId
- the idprofileGroupIdSetToAdd
- the profile group id set to addprofileGroupIdSetToRemove
- the profile group id set to remove
-