@Service public class RoleSupportService extends Object
auth service
| 构造器和说明 |
|---|
RoleSupportService() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addRole(RoleEntity roleEntity) |
void |
deleteRole(String roleId) |
List<RoleEntity> |
getAllRoles() |
RoleEntity |
getAuthDetail(String roleId) |
org.iartisan.runtime.bean.PageWrapper<RoleEntity> |
getAuthPageData(org.iartisan.runtime.bean.Page page,
String roleName) |
UserRoleEntity |
getRoleByUserId(String userId) |
List<String> |
getRoleIdsByUserId(String userId) |
public List<RoleEntity> getAllRoles()
public RoleEntity getAuthDetail(String roleId)
public org.iartisan.runtime.bean.PageWrapper<RoleEntity> getAuthPageData(org.iartisan.runtime.bean.Page page, String roleName)
@Transactional public void addRole(RoleEntity roleEntity)
public UserRoleEntity getRoleByUserId(String userId)
public void deleteRole(String roleId)
Copyright © 2018. All rights reserved.