@Service public class UserService extends BaseService<User>
Constructor and Description |
---|
UserService(UserRepository repository,
EmailService emailService) |
Modifier and Type | Method and Description |
---|---|
User |
findUserByEmail(java.lang.String email) |
User |
findUserByToken(java.lang.String token) |
LoginResultDto |
forgot(LoginDto loginDto) |
LoginResultDto |
sigin(LoginDto loginDto) |
count, delete, deleteAll, deleteAll, deleteById, doesObjectContainField, existsById, findAll, findAllById, findByExperiment, findById, getOne, inferGenericType, inferGenericType, save, saveAll
public UserService(UserRepository repository, EmailService emailService)
@Transactional public LoginResultDto forgot(LoginDto loginDto)
@Transactional public LoginResultDto sigin(LoginDto loginDto)
@Transactional(readOnly=true) public User findUserByEmail(java.lang.String email)
@Transactional(readOnly=true) public User findUserByToken(java.lang.String token)