Interface HvlOAuthProfileGroupProfileRelOperationalManager
- All Known Implementing Classes:
HvlOAuthProfileGroupProfileRelOperationalManagerImpl
@Validated
public interface HvlOAuthProfileGroupProfileRelOperationalManager
A service in which includes custom methods used to persist/retrieve data.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteAllByProfileGroupIdAndProfileIdSet
(@NotNull Long profileGroupId, @NotEmpty Set<@NotNull Long> profileIdSet) Delete all by profile group id and profile id set.void
deleteAllByProfileId
(@NotNull Long profileId) Delete all by profile id.default Long
merge
(@NotNull Long profileGroupId, @Size(max=100) Set<@NotNull Long> profileIdSetToAdd, @Size(max=100) Set<@NotNull Long> profileIdSetToRemove) Merge long.merge
(@NotNull Long profileGroupId, @Size(max=100) Set<@NotNull Long> profileIdSetToAdd, @Size(max=100) Set<@NotNull Long> profileIdSetToRemove, @NotNull Optional<Long> sourceProfileGroupId) Merge.void
saveAll
(@NotEmpty List<HvlOAuthProfileGroupProfileRelModel> newProfileGroupProfileList) Save all.
-
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 idprofileIdSetToAdd
- the profile id set to addprofileIdSetToRemove
- the profile id set to removesourceProfileGroupId
- 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 idprofileIdSetToAdd
- the profile id set to addprofileIdSetToRemove
- 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 idprofileIdSet
- the profile id set
-
deleteAllByProfileId
Delete all by profile id.- Parameters:
profileId
- the profile id
-