Class SysUserService
- All Implemented Interfaces:
cn.herodotus.engine.data.core.service.ReadableService<SysUser,,String> cn.herodotus.engine.data.core.service.WriteableService<SysUser,String>
@Service
public class SysUserService
extends cn.herodotus.engine.data.core.service.BaseService<SysUser,String>
Description: SysUserService
- Author:
- : gengwei.zheng
- Date:
- : 2019/11/9 10:03
-
Constructor Summary
ConstructorsConstructorDescriptionSysUserService(SysUserRepository sysUserRepository, SysDefaultRoleService sysDefaultRoleService) -
Method Summary
Modifier and TypeMethodDescriptionchangePassword(String userId, String password) voidchangeStatus(String userId, cn.herodotus.engine.data.core.enums.DataItemStatus status) findByUserId(String userId) findByUsername(String username) register(SocialUserDetails socialUserDetails) registerUserDetails(SocialUserDetails socialUserDetails) Methods inherited from class cn.herodotus.engine.data.core.service.BaseService
likeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface cn.herodotus.engine.data.core.service.ReadableService
count, count, existsById, findAll, findAll, findAll, findAll, findById, findByPage, findByPage, findByPage, findByPage, findByPage, findByPage, findByPageMethods inherited from interface cn.herodotus.engine.data.core.service.WriteableService
delete, deleteAll, deleteAll, deleteAllInBatch, deleteById, flush, save, saveAll, saveAllAndFlush, saveAndFlush
-
Constructor Details
-
SysUserService
public SysUserService(SysUserRepository sysUserRepository, SysDefaultRoleService sysDefaultRoleService)
-
-
Method Details
-
getRepository
-
findByUsername
-
findByUserId
-
changePassword
-
assign
-
register
-
register
-
register
-
register
-
register
-
registerUserDetails
-
changeStatus
-