Class HvlOAuthRoleGroupRoleRelOperationalManagerImpl
java.lang.Object
tr.com.havelsan.javarch.oauth.jpa.data.provider.module.role.manager.relation.HvlOAuthRoleGroupRoleRelOperationalManagerImpl
- All Implemented Interfaces:
HvlOAuthRoleGroupRoleRelOperationalManager
@Service
public class HvlOAuthRoleGroupRoleRelOperationalManagerImpl
extends Object
implements HvlOAuthRoleGroupRoleRelOperationalManager
The class which implements
HvlOAuthRoleGroupRoleRelOperationalManager
.-
Constructor Summary
ConstructorDescriptionHvlOAuthRoleGroupRoleRelOperationalManagerImpl
(HvlOAuthRoleGroupRoleRelRepository roleGroupRoleRelRepository, HvlOAuthRoleGroupRoleRelQueryGenerator roleGroupRoleRelQueryGenerator, HvlOAuthRoleGroupRoleRelMapper roleGroupRoleRelMapper) Instantiates a new manager implementation. -
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteAllByRoleGroupId
(@NotNull Long roleGroupId) Delete role group role relation by role group id.void
merge
(@NotNull Long roleGroupId, @Size(max=100) Set<@NotNull Long> roleIdSetToAdd, @Size(max=100) Set<@NotNull Long> roleIdSetToRemove, @NotNull Optional<Long> sourceRoleGroupIdToCopy) Merge role group relations.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface tr.com.havelsan.javarch.oauth.jpa.data.provider.module.role.manager.relation.HvlOAuthRoleGroupRoleRelOperationalManager
merge
-
Constructor Details
-
HvlOAuthRoleGroupRoleRelOperationalManagerImpl
public HvlOAuthRoleGroupRoleRelOperationalManagerImpl(HvlOAuthRoleGroupRoleRelRepository roleGroupRoleRelRepository, HvlOAuthRoleGroupRoleRelQueryGenerator roleGroupRoleRelQueryGenerator, HvlOAuthRoleGroupRoleRelMapper roleGroupRoleRelMapper) Instantiates a new manager implementation.- Parameters:
roleGroupRoleRelRepository
- the role group role rel repositoryroleGroupRoleRelQueryGenerator
- the role group role rel query generatorroleGroupRoleRelMapper
- the role group role rel mapper
-
-
Method Details
-
merge
public void merge(@NotNull @NotNull Long roleGroupId, @Size(max=100) @Size(max=100) Set<@NotNull Long> roleIdSetToAdd, @Size(max=100) @Size(max=100) Set<@NotNull Long> roleIdSetToRemove, @NotNull @NotNull Optional<Long> sourceRoleGroupIdToCopy) Merge role group relations.- Specified by:
merge
in interfaceHvlOAuthRoleGroupRoleRelOperationalManager
- Parameters:
roleGroupId
- the role group idroleIdSetToAdd
- the role id set to addroleIdSetToRemove
- the role id set to removesourceRoleGroupIdToCopy
- the source role group id to copy
-
deleteAllByRoleGroupId
Delete role group role relation by role group id.- Specified by:
deleteAllByRoleGroupId
in interfaceHvlOAuthRoleGroupRoleRelOperationalManager
- Parameters:
roleGroupId
- the role group id
-