@Transactional @Service(value="resetPasswordDomainService") public class ResetPasswordDomainService extends de.alpharogroup.service.domain.AbstractDomainService<Integer,ResetPassword,de.alpharogroup.user.entities.ResetPasswords,de.alpharogroup.user.repositories.ResetPasswordsDao,ResetPasswordsMapper> implements ResetPasswordService
ResetPasswordDomainService.| Constructor and Description |
|---|
ResetPasswordDomainService() |
| Modifier and Type | Method and Description |
|---|---|
ResetPassword |
findResetPassword(User user)
Finds the
ResetPassword object from the given User object. |
ResetPassword |
findResetPassword(User user,
String generatedPassword)
Find the entry from the given
User and the given generated password(hashed). |
void |
setResetPasswordsDao(de.alpharogroup.user.repositories.ResetPasswordsDao resetPasswordsDao)
Sets the specific
ResetPasswordsDao. |
void |
setResetPasswordsMapper(ResetPasswordsMapper mapper)
Sets the specific
ResetPasswordsMapper. |
create, delete, exists, findAll, getDao, getDomainObjectClass, getEntityClass, getMapper, persist, read, setDao, setMapper, updatepublic ResetPassword findResetPassword(User user)
ResetPassword object from the given User object.findResetPassword in interface ResetPasswordServiceuser - the userResetPassword or null if not foundpublic ResetPassword findResetPassword(User user, String generatedPassword)
User and the given generated password(hashed).findResetPassword in interface ResetPasswordServiceuser - the usergeneratedPassword - the generated password(hashed) is the confirmationCode from the url query stringResetPassword or null if not found@Autowired public void setResetPasswordsDao(de.alpharogroup.user.repositories.ResetPasswordsDao resetPasswordsDao)
ResetPasswordsDao.resetPasswordsDao - the new ResetPasswordsDao.@Autowired public void setResetPasswordsMapper(ResetPasswordsMapper mapper)
ResetPasswordsMapper.mapper - the new ResetPasswordsMapper.Copyright © 2015–2017 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.