public interface UsersDAO extends DAO<eu.dnetlib.domain.functionality.UserProfile>
| Modifier and Type | Method and Description |
|---|---|
boolean |
activateUser(String activation_id) |
boolean |
checkCorrectCreds(String email,
String password) |
eu.dnetlib.domain.functionality.UserProfile |
get(String email) |
boolean |
isActivated(String email) |
boolean |
isAdmin(String email) |
boolean |
isRepoAdmin(String email) |
void |
prepareResetPassword(String uuid,
String email) |
void |
ResetPassword(String activation_id,
String password) |
boolean |
userExists(String email) |
boolean |
usernameExists(String username) |
boolean checkCorrectCreds(String email, String password) throws DaoException
DaoExceptionboolean isAdmin(String email) throws DaoException
DaoExceptionboolean isRepoAdmin(String email) throws DaoException
DaoExceptionboolean isActivated(String email) throws DaoException
DaoExceptionboolean activateUser(String activation_id) throws DaoException
DaoExceptionboolean userExists(String email) throws DaoException
DaoExceptionboolean usernameExists(String username) throws DaoException
DaoExceptionvoid prepareResetPassword(String uuid, String email) throws DaoException
DaoExceptionvoid ResetPassword(String activation_id, String password) throws DaoException
DaoExceptioneu.dnetlib.domain.functionality.UserProfile get(String email) throws DaoException
DaoExceptionCopyright © 2022. All rights reserved.