Class SecUserRoleServiceImpl
java.lang.Object
com.baomidou.mybatisplus.extension.repository.AbstractRepository<M,T>
com.baomidou.mybatisplus.extension.repository.CrudRepository<M,T>
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl<SecUserRoleMapper,SecUserRole>
cn.sliew.carp.module.security.core.service.impl.SecUserRoleServiceImpl
- All Implemented Interfaces:
SecUserRoleService,com.baomidou.mybatisplus.extension.repository.IRepository<SecUserRole>,com.baomidou.mybatisplus.extension.service.IService<SecUserRole>
@Service
public class SecUserRoleServiceImpl
extends com.baomidou.mybatisplus.extension.service.impl.ServiceImpl<SecUserRoleMapper,SecUserRole>
implements SecUserRoleService
-
Field Summary
Fields inherited from class com.baomidou.mybatisplus.extension.repository.CrudRepository
baseMapperFields inherited from class com.baomidou.mybatisplus.extension.repository.AbstractRepository
logFields inherited from interface com.baomidou.mybatisplus.extension.repository.IRepository
DEFAULT_BATCH_SIZE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid批量为用户绑定角色void批量为角色绑定用户查询用户绑定所有角色列表cn.sliew.carp.framework.common.model.PageResult<SecRoleDTO>查询用户绑定角色列表cn.sliew.carp.framework.common.model.PageResult<SecUserDTO>查询角色绑定用户列表cn.sliew.carp.framework.common.model.PageResult<SecRoleDTO>查询用户未绑定角色列表cn.sliew.carp.framework.common.model.PageResult<SecUserDTO>查询角色未绑定用户列表void批量为用户解除角色绑定void批量为角色解除用户绑定Methods inherited from class com.baomidou.mybatisplus.extension.repository.CrudRepository
getBaseMapper, getSqlStatement, saveBatch, saveOrUpdateBatch, updateBatchByIdMethods inherited from class com.baomidou.mybatisplus.extension.repository.AbstractRepository
executeBatch, executeBatch, getEntityClass, getMap, getMapperClass, getObj, getOne, getOneOpt, getSqlSessionFactory, removeById, saveOrUpdateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.baomidou.mybatisplus.extension.repository.IRepository
count, count, exists, getBaseMapper, getById, getEntityClass, getMap, getObj, getOne, getOne, getOneOpt, getOneOpt, getOptById, ktQuery, ktUpdate, lambdaQuery, lambdaQuery, lambdaUpdate, list, list, list, list, listByIds, listByMap, listMaps, listMaps, listMaps, listMaps, listObjs, listObjs, listObjs, listObjs, page, page, pageMaps, pageMaps, query, remove, removeById, removeById, removeById, removeByIds, removeByIds, removeByMap, save, saveBatch, saveOrUpdate, saveOrUpdateBatch, update, update, update, updateBatchById, updateByIdMethods inherited from interface com.baomidou.mybatisplus.extension.service.IService
removeBatchByIds, saveBatch, saveOrUpdateBatch, updateBatchById
-
Constructor Details
-
SecUserRoleServiceImpl
public SecUserRoleServiceImpl()
-
-
Method Details
-
listAuthorizedUsersByRoleId
public cn.sliew.carp.framework.common.model.PageResult<SecUserDTO> listAuthorizedUsersByRoleId(SecUserListByRoleParam param) Description copied from interface:SecUserRoleService查询角色绑定用户列表- Specified by:
listAuthorizedUsersByRoleIdin interfaceSecUserRoleService
-
listUnauthorizedUsersByRoleId
public cn.sliew.carp.framework.common.model.PageResult<SecUserDTO> listUnauthorizedUsersByRoleId(SecUserListByRoleParam param) Description copied from interface:SecUserRoleService查询角色未绑定用户列表- Specified by:
listUnauthorizedUsersByRoleIdin interfaceSecUserRoleService
-
authorize
Description copied from interface:SecUserRoleService批量为角色绑定用户- Specified by:
authorizein interfaceSecUserRoleService
-
unauthorize
Description copied from interface:SecUserRoleService批量为角色解除用户绑定- Specified by:
unauthorizein interfaceSecUserRoleService
-
listAllAuthorizedRolesByUserId
Description copied from interface:SecUserRoleService查询用户绑定所有角色列表- Specified by:
listAllAuthorizedRolesByUserIdin interfaceSecUserRoleService
-
listAuthorizedRolesByUserId
public cn.sliew.carp.framework.common.model.PageResult<SecRoleDTO> listAuthorizedRolesByUserId(SecRoleListByUserParam param) Description copied from interface:SecUserRoleService查询用户绑定角色列表- Specified by:
listAuthorizedRolesByUserIdin interfaceSecUserRoleService
-
listUnauthorizedRolesByUserId
public cn.sliew.carp.framework.common.model.PageResult<SecRoleDTO> listUnauthorizedRolesByUserId(SecRoleListByUserParam param) Description copied from interface:SecUserRoleService查询用户未绑定角色列表- Specified by:
listUnauthorizedRolesByUserIdin interfaceSecUserRoleService
-
authorize
Description copied from interface:SecUserRoleService批量为用户绑定角色- Specified by:
authorizein interfaceSecUserRoleService
-
unauthorize
Description copied from interface:SecUserRoleService批量为用户解除角色绑定- Specified by:
unauthorizein interfaceSecUserRoleService
-