public interface RoleManager extends Manager<Role>
描述:角色管理 处理接口
| 限定符和类型 | 方法和说明 |
|---|---|
Role |
getByAlias(String alias) |
List<Role> |
getByType(String typeKey)
根据角色分类查询角色列表
|
List<Role> |
getListByAccount(String account)
根据用户账号获取角色列表
|
List<Role> |
getListByUserId(String userId)
根据用户ID获取角色列表
|
boolean |
isRoleExist(Role role)
判断角色是否存在。
|
boolean isRoleExist(Role role)
role - Copyright © 2018. All rights reserved.