Interface HvlOAuthAuthorityTagRelOperationalManager
- All Known Implementing Classes:
HvlOAuthAuthorityTagRelOperationalManagerImpl
@Validated
public interface HvlOAuthAuthorityTagRelOperationalManager
This manager provides operational methods.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteAllByAuthorityIdAndTagId
(@NotNull Long authorityId, @NotEmpty Set<@NotNull Long> tagIdSet) Delete authority tag relation by tag id list and authority id.void
deleteAllByTagId
(@NotNull Long tagId) Delete authority tag relations by tag id.void
deleteAllByTagUuid
(@NotBlank @Size(min=36,max=36) String tagUuid) Delete authority tag relations by tag uuid.void
merge
(@NotNull @Valid HvlOAuthAuthorityTagPersistModel authorityTagPersistModel) Merge authority tag rel with list to add and set to remove.
-
Method Details
-
merge
void merge(@NotNull @Valid @NotNull @Valid HvlOAuthAuthorityTagPersistModel authorityTagPersistModel) Merge authority tag rel with list to add and set to remove.- Parameters:
authorityTagPersistModel
- the authority tag persist model
-
deleteAllByAuthorityIdAndTagId
void deleteAllByAuthorityIdAndTagId(@NotNull @NotNull Long authorityId, @NotEmpty @NotEmpty Set<@NotNull Long> tagIdSet) Delete authority tag relation by tag id list and authority id.- Parameters:
authorityId
- the authority idtagIdSet
- the tag id set
-
deleteAllByTagId
Delete authority tag relations by tag id.- Parameters:
tagId
- the tag id
-
deleteAllByTagUuid
void deleteAllByTagUuid(@NotBlank @Size(min=36,max=36) @NotBlank @Size(min=36,max=36) String tagUuid) Delete authority tag relations by tag uuid.- Parameters:
tagUuid
- the tag uuid
-