@Service(value="userRoleManager") public class UserRoleManagerImpl extends BaseManagerImpl<UserRole> implements UserRoleManager
描述:用户角色管理 处理实现类
| 限定符和类型 | 字段和说明 |
|---|---|
(专用程序包) UserRoleDao |
userRoleDao |
logger| 构造器和说明 |
|---|
UserRoleManagerImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
UserRole |
getByRoleIdUserId(String roleId,
String userId)
根据用户和角色id 查询 关联关系。
|
List<UserRole> |
getListByAlias(String alias)
根据角色别名查询关联的用户。
|
List<UserRole> |
getListByRoleId(String roleId)
根据角色ID查询关联的用户。
|
List<UserRole> |
getListByUserId(String userId)
获取用户的角色。
|
create, get, getDao, query, remove, removeByIds, setDao, updatecloseSqlSession, count, currentModelClass, getById, getMap, getObj, getOne, list, listByIds, listByMap, listMaps, listObjs, page, pageMaps, remove, removeById, removeByIds, removeByMap, retBool, save, saveBatch, saveOrUpdate, saveOrUpdateBatch, saveOrUpdateBatch, sqlSessionBatch, sqlStatement, update, updateBatchById, updateByIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate, get, query, remove, removeByIds, updatecount, getById, getMap, getObj, getOne, getOne, list, listByIds, listByMap, listMaps, listObjs, page, pageMaps, remove, removeById, removeByIds, removeByMap, save, saveBatch, saveBatch, saveOrUpdate, saveOrUpdateBatch, saveOrUpdateBatch, update, updateBatchById, updateBatchById, updateByIdUserRoleDao userRoleDao
public UserRole getByRoleIdUserId(String roleId, String userId)
UserRoleManagergetByRoleIdUserId 在接口中 UserRoleManagerpublic List<UserRole> getListByUserId(String userId)
UserRoleManagergetListByUserId 在接口中 UserRoleManagerpublic List<UserRole> getListByRoleId(String roleId)
UserRoleManagergetListByRoleId 在接口中 UserRoleManagerpublic List<UserRole> getListByAlias(String alias)
UserRoleManagergetListByAlias 在接口中 UserRoleManagerCopyright © 2018. All rights reserved.