@Service public class RoleServiceImpl extends Object implements RoleService
Description:
| 构造器和说明 |
|---|
RoleServiceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
accountRoleConfig(Long accountId,
List<Long> roleIds)
为账号配置角色
|
List<RoleModel> |
accountRoles(Long accountId)
账号下的角色列表
|
RoleModel |
addRole(RoleAddParam role) |
void |
auth(List<Long> authIds,
Long roleId)
为角色配置权限
|
List<RoleModel> |
pageRole(cn.ipokerface.common.parameter.PaginationSortableQuery query)
分页查角色列表
|
void |
remove(List<Long> roleIds)
删除角色
|
List<RoleModel> |
roles(Integer roleType)
角色类型的全部角色
|
long |
totalRole(cn.ipokerface.common.parameter.PaginationSortableQuery query)
角色总数
|
RoleModel |
updateRole(RoleUpdateParam role)
修改角色信息
|
public List<RoleModel> pageRole(cn.ipokerface.common.parameter.PaginationSortableQuery query)
RoleServicepageRole 在接口中 RoleServicequery - querypublic long totalRole(cn.ipokerface.common.parameter.PaginationSortableQuery query)
RoleServicetotalRole 在接口中 RoleServicequery - querypublic RoleModel addRole(RoleAddParam role)
addRole 在接口中 RoleServicerole - rolepublic RoleModel updateRole(RoleUpdateParam role)
RoleServiceupdateRole 在接口中 RoleServicerole - roleParampublic void remove(List<Long> roleIds)
RoleServiceremove 在接口中 RoleServiceroleIds - roleIdspublic void auth(List<Long> authIds, Long roleId)
RoleServiceauth 在接口中 RoleServiceauthIds - authorityIdsroleId - roleIdpublic List<RoleModel> accountRoles(Long accountId)
RoleServiceaccountRoles 在接口中 RoleServiceaccountId - accountIdpublic List<RoleModel> roles(Integer roleType)
RoleServiceroles 在接口中 RoleServiceroleType - roleTypepublic void accountRoleConfig(Long accountId, List<Long> roleIds)
RoleServiceaccountRoleConfig 在接口中 RoleServiceaccountId - accountIdroleIds - roleIdsCopyright © 2021. All rights reserved.