public interface SysUserRoleServiceApi
| 限定符和类型 | 方法和说明 |
|---|---|
void |
deleteUserAllOrgBind(Long userId)
删除用户所有关联机构的角色
|
Set<Long> |
findCurrentUserRoleLimitScope()
获取当前登录用户的角色范围列表,角色范围指用户的角色可分配的权限列表
|
List<Long> |
findUserIdsByRoleId(Long roleId)
根据角色id找到角色对应的用户id集合
|
Set<Long> |
findUserRoleLimitScope(Long userId)
获取用户的角色范围列表,角色范围指用户的角色可分配的权限列表
|
List<UserRoleDTO> |
getUserLinkedOrgRoleList(Long userId)
获取用户所有关联了机构id的角色列表,用在新的用户授权界面
|
List<Long> |
getUserRoleIdList(Long userId)
获取用户的所有角色id列表
|
List<Long> |
getUserRoleIdListCurrentCompany(Long userId,
Long orgId)
获取用户的当前所在机构的所有角色id列表
|
Set<Long> |
getUserSystemRoleIdList(Long userId)
获取用户系统级别的角色,用在用户管理界面,分配角色时使用
|
void |
removeUserOrgRoleLink(Long userId,
Long orgId)
清楚用户在本组织机构下的角色绑定
|
Set<Long> getUserSystemRoleIdList(Long userId)
List<UserRoleDTO> getUserLinkedOrgRoleList(Long userId)
List<Long> getUserRoleIdListCurrentCompany(Long userId, Long orgId)
List<Long> findUserIdsByRoleId(Long roleId)
Set<Long> findUserRoleLimitScope(Long userId)
userId - 用户idSet<Long> findCurrentUserRoleLimitScope()
void removeUserOrgRoleLink(Long userId, Long orgId)
void deleteUserAllOrgBind(Long userId)
Copyright © 2024. All rights reserved.