Interface HvlOAuthProfileGroupProfileRelOperationalManager

All Known Implementing Classes:
HvlOAuthProfileGroupProfileRelOperationalManagerImpl

@Validated public interface HvlOAuthProfileGroupProfileRelOperationalManager
A service in which includes custom methods used to persist/retrieve data.
  • Method Details

    • saveAll

      void saveAll(@NotEmpty @NotEmpty List<HvlOAuthProfileGroupProfileRelModel> newProfileGroupProfileList)
      Save all.
      Parameters:
      newProfileGroupProfileList - the new profile group profile list
    • merge

      @Validated(tr.com.havelsan.javarch.data.commons.validation.HvlTransientValidationGroup.class) Long merge(@NotNull @NotNull Long profileGroupId, @Size(max=100) @Size(max=100) Set<@NotNull Long> profileIdSetToAdd, @Size(max=100) @Size(max=100) Set<@NotNull Long> profileIdSetToRemove, @NotNull @NotNull Optional<Long> sourceProfileGroupId)
      Merge.
      Parameters:
      profileGroupId - the profile group id
      profileIdSetToAdd - the profile id set to add
      profileIdSetToRemove - the profile id set to remove
      sourceProfileGroupId - the source profile group id
      Returns:
      the long
    • merge

      default Long merge(@NotNull @NotNull Long profileGroupId, @Size(max=100) @Size(max=100) Set<@NotNull Long> profileIdSetToAdd, @Size(max=100) @Size(max=100) Set<@NotNull Long> profileIdSetToRemove)
      Merge long.
      Parameters:
      profileGroupId - the profile group id
      profileIdSetToAdd - the profile id set to add
      profileIdSetToRemove - the profile id set to remove
      Returns:
      the long
    • deleteAllByProfileGroupIdAndProfileIdSet

      void deleteAllByProfileGroupIdAndProfileIdSet(@NotNull @NotNull Long profileGroupId, @NotEmpty @NotEmpty Set<@NotNull Long> profileIdSet)
      Delete all by profile group id and profile id set.
      Parameters:
      profileGroupId - the profile group id
      profileIdSet - the profile id set
    • deleteAllByProfileId

      void deleteAllByProfileId(@NotNull @NotNull Long profileId)
      Delete all by profile id.
      Parameters:
      profileId - the profile id