Interface HvlOAuthRoleAuthorityRelManager
- All Known Implementing Classes:
HvlOauthRoleAuthorityRelManagerImpl
@Validated
public interface HvlOAuthRoleAuthorityRelManager
This manager provides retrieve methods.
-
Method Summary
Modifier and TypeMethodDescriptiongetAllRelationIdOfChildrenOfParentAuthorityAndRole
(@NotNull Long parentAuthorityId, @NotNull Long roleId) Gets all authority role relation id according to parent authority id and role idverifyRoleIfExistsAuthority
(@NotEmpty String roleUuid, @NotNull Long authorityId) Verify whether the authority is in the role.
-
Method Details
-
verifyRoleIfExistsAuthority
Boolean verifyRoleIfExistsAuthority(@NotEmpty @NotEmpty String roleUuid, @NotNull @NotNull Long authorityId) Verify whether the authority is in the role.- Parameters:
roleUuid
- the role uuidauthorityId
- the authority id- Returns:
- the boolean
-
getAllRelationIdOfChildrenOfParentAuthorityAndRole
List<Long> getAllRelationIdOfChildrenOfParentAuthorityAndRole(@NotNull @NotNull Long parentAuthorityId, @NotNull @NotNull Long roleId) Gets all authority role relation id according to parent authority id and role id- Parameters:
parentAuthorityId
-roleId
-- Returns:
-