类 UserRoleServiceImpl
java.lang.Object
com.hengyi.xbaseweb.system.service.impl.UserRoleServiceImpl
- 所有已实现的接口:
IUserRoleService
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidallotRole(AllotRoleDto allotRoleDto) 分配角色给某个用户voidcancelAllotRole(UnAllotRoleDto unAllotRoleDto) 取消分配角色给某个用户findUserRoleByUsername(String username) 通用用个户名查找角色列表findUserRoleStrByUsername(String username) 通用用个户名查找角色列表findUserRoleVoByUsername(String username) 根据用户名查询用户角色查询过期的用户角色queryUserRoleInfo(String username, String role) 查询用户角色信息void扫描并过期角色voidupdateUserRoleStatus(String ruId, String bizId, Boolean status) 更新用户角色状态
-
构造器详细资料
-
UserRoleServiceImpl
public UserRoleServiceImpl()
-
-
方法详细资料
-
queryExpireUserRoleList
查询过期的用户角色- 指定者:
queryExpireUserRoleList在接口中IUserRoleService- 返回:
-
findUserRoleVoByUsername
根据用户名查询用户角色- 指定者:
findUserRoleVoByUsername在接口中IUserRoleService- 参数:
username-- 返回:
-
findUserRoleByUsername
从接口复制的说明:IUserRoleService通用用个户名查找角色列表- 指定者:
findUserRoleByUsername在接口中IUserRoleService- 返回:
-
findUserRoleStrByUsername
从接口复制的说明:IUserRoleService通用用个户名查找角色列表- 指定者:
findUserRoleStrByUsername在接口中IUserRoleService- 返回:
-
cancelAllotRole
取消分配角色给某个用户- 指定者:
cancelAllotRole在接口中IUserRoleService- 参数:
unAllotRoleDto-
-
queryUserRoleInfo
查询用户角色信息- 指定者:
queryUserRoleInfo在接口中IUserRoleService- 参数:
username-role-- 返回:
-
updateUserRoleStatus
更新用户角色状态- 指定者:
updateUserRoleStatus在接口中IUserRoleService- 参数:
ruId-bizId-status-
-
allotRole
@Transactional(rollbackFor=java.lang.Exception.class) public void allotRole(AllotRoleDto allotRoleDto) 分配角色给某个用户- 指定者:
allotRole在接口中IUserRoleService- 参数:
allotRoleDto-
-
scanningExpireUserRole
public void scanningExpireUserRole()从接口复制的说明:IUserRoleService扫描并过期角色- 指定者:
scanningExpireUserRole在接口中IUserRoleService
-