| 限定符和类型 | 方法和说明 |
|---|---|
List<Role> |
User.getRole() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
User.setRoles(List<Role> roles) |
| 限定符和类型 | 方法和说明 |
|---|---|
Role |
RoleService.getByName(String roleName) |
| 限定符和类型 | 方法和说明 |
|---|---|
List<Role> |
RoleService.listByUserId(long userId) |
| 限定符和类型 | 方法和说明 |
|---|---|
Role |
IRoleService.getByName(String roleName)
通过名称检索角色
|
| 限定符和类型 | 方法和说明 |
|---|---|
List<Role> |
IRoleService.listByUserId(long userId)
根据用户Id查询所有角色
|
| 限定符和类型 | 方法和说明 |
|---|---|
Set<Role> |
WorkStation.getUserGroups() |
| 限定符和类型 | 方法和说明 |
|---|---|
List<Role> |
IWorkStationService.listRolesByWorkStationId(long id)
根据工作站id查询角色列表
|
| 限定符和类型 | 方法和说明 |
|---|---|
List<Role> |
WorkStationService.listRolesByWorkStationId(long id) |
| 限定符和类型 | 方法和说明 |
|---|---|
Role |
Alarm.getHandingGroup() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Alarm.setHandingGroup(Role handingGroup) |
Copyright © 2019. All rights reserved.