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
  • Constructor Details

    • HvlOAuthProfileGroupRoleGroupRelOperationalManagerImpl

      public HvlOAuthProfileGroupRoleGroupRelOperationalManagerImpl(HvlOAuthProfileGroupRoleGroupRelMapper profileGroupRoleGroupRelMapper, HvlOAuthProfileGroupRoleGroupRelRepository profileGroupRoleGroupRelRepository, HvlOAuthProfileGroupRoleGroupRelQueryGenerator profileGroupRoleGroupQueryGenerator)
      Instantiates a new HvlOAuthProfileGroupRoleGroupOperationalManagerImpl.
      Parameters:
      profileGroupRoleGroupRelMapper - the profile group role group mapper
      profileGroupRoleGroupRelRepository - the profile group role group repository
      profileGroupRoleGroupQueryGenerator - 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 interface HvlOAuthProfileGroupRoleGroupRelOperationalManager
      Parameters:
      profileGroupId - the profile group id
      roleGroupIdSetToAdd - the profile id set to add
      roleGroupIdSetToRemove - 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 interface HvlOAuthProfileGroupRoleGroupRelOperationalManager
      Parameters:
      profileGroupId - the profile group id
      roleGroupIdSet - the role group id set
    • deleteAllByProfileGroupId

      public void deleteAllByProfileGroupId(@NotNull @NotNull Long profileGroupId)
      Delete all by profile group id.
      Specified by:
      deleteAllByProfileGroupId in interface HvlOAuthProfileGroupRoleGroupRelOperationalManager
      Parameters:
      profileGroupId - the profile group id