Interface HvlOAuthRoleAuthorityRelManager

All Known Implementing Classes:
HvlOauthRoleAuthorityRelManagerImpl

@Validated public interface HvlOAuthRoleAuthorityRelManager
This manager provides retrieve methods.
  • 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 uuid
      authorityId - 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: