Class HvlOAuthProfileGroupRoleGroupRelOperationalManagerImpl
java.lang.Object
tr.com.havelsan.javarch.oauth.jpa.data.provider.module.profile.manager.relation.HvlOAuthProfileGroupRoleGroupRelOperationalManagerImpl
- All Implemented Interfaces:
HvlOAuthProfileGroupRoleGroupRelOperationalManager
@Service
public class HvlOAuthProfileGroupRoleGroupRelOperationalManagerImpl
extends Object
implements HvlOAuthProfileGroupRoleGroupRelOperationalManager
The class which implements
HvlOAuthProfileGroupRoleGroupRelOperationalManager
.-
Constructor Summary
ConstructorDescriptionHvlOAuthProfileGroupRoleGroupRelOperationalManagerImpl
(HvlOAuthProfileGroupRoleGroupRelMapper profileGroupRoleGroupRelMapper, HvlOAuthProfileGroupRoleGroupRelRepository profileGroupRoleGroupRelRepository, HvlOAuthProfileGroupRoleGroupRelQueryGenerator profileGroupRoleGroupQueryGenerator) Instantiates a new HvlOAuthProfileGroupRoleGroupOperationalManagerImpl. -
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> roleGroupIdSetToAdd, @Size(max=100) Set<@NotNull Long> roleGroupIdSetToRemove) Merge.
-
Constructor Details
-
HvlOAuthProfileGroupRoleGroupRelOperationalManagerImpl
public HvlOAuthProfileGroupRoleGroupRelOperationalManagerImpl(HvlOAuthProfileGroupRoleGroupRelMapper profileGroupRoleGroupRelMapper, HvlOAuthProfileGroupRoleGroupRelRepository profileGroupRoleGroupRelRepository, HvlOAuthProfileGroupRoleGroupRelQueryGenerator profileGroupRoleGroupQueryGenerator) Instantiates a new HvlOAuthProfileGroupRoleGroupOperationalManagerImpl.- Parameters:
profileGroupRoleGroupRelMapper
- the profile group role group mapperprofileGroupRoleGroupRelRepository
- the profile group role group repositoryprofileGroupRoleGroupQueryGenerator
- the profile group role group query generator
-
-
Method Details
-
merge
@Validated(tr.com.havelsan.javarch.data.commons.validation.HvlTransientValidationGroup.class) public Long merge(@NotNull @NotNull Long profileGroupId, @Size(max=100) @Size(max=100) Set<@NotNull Long> roleGroupIdSetToAdd, @Size(max=100) @Size(max=100) Set<@NotNull Long> roleGroupIdSetToRemove) Merge.- Specified by:
merge
in interfaceHvlOAuthProfileGroupRoleGroupRelOperationalManager
- Parameters:
profileGroupId
- the profile group idroleGroupIdSetToAdd
- the profile id set to addroleGroupIdSetToRemove
- the profile id set to remove- Returns:
- the long
-
deleteAllByProfileGroupIdAndRoleGroupIdSet
public void deleteAllByProfileGroupIdAndRoleGroupIdSet(@NotNull @NotNull Long profileGroupId, @NotEmpty @NotEmpty Set<@NotNull Long> roleGroupIdSet) Delete all by profile group id and role id set.- Specified by:
deleteAllByProfileGroupIdAndRoleGroupIdSet
in interfaceHvlOAuthProfileGroupRoleGroupRelOperationalManager
- Parameters:
profileGroupId
- the profile group idroleGroupIdSet
- the role group id set
-
deleteAllByProfileGroupId
Delete all by profile group id.- Specified by:
deleteAllByProfileGroupId
in interfaceHvlOAuthProfileGroupRoleGroupRelOperationalManager
- Parameters:
profileGroupId
- the profile group id
-