public class UserEJB extends Object
| Constructor and Description |
|---|
UserEJB() |
| Modifier and Type | Method and Description |
|---|---|
void |
registerUser(es.uvigo.esei.dgss.letta.domain.entities.User user)
Register an user
|
es.uvigo.esei.dgss.letta.domain.entities.Registration |
registrationWithLogin(String login)
Finds a registration by login
|
boolean |
userConfirmation(String uuid)
Confirms a user registration
|
es.uvigo.esei.dgss.letta.domain.entities.User |
userWithLogin(String login)
Finds a user by login in the User table
|
@PermitAll public void registerUser(es.uvigo.esei.dgss.letta.domain.entities.User user) throws LoginDuplicateException, EmailDuplicateException
user - indicates the user to registerLoginDuplicateException - if the user login already existsEmailDuplicateException - if the user email already exists@PermitAll public boolean userConfirmation(String uuid)
uuid - indicates the user uuiduuid doesn't existpublic es.uvigo.esei.dgss.letta.domain.entities.User userWithLogin(String login)
login - public es.uvigo.esei.dgss.letta.domain.entities.Registration registrationWithLogin(String login)
login - indicates the user with loginCopyright © 2015. All rights reserved.