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