public class UserEJB extends Object
| Constructor and Description |
|---|
UserEJB() |
| Modifier and Type | Method and Description |
|---|---|
void |
confirmUser(String login) |
es.uvigo.esei.dgss.lettab.domain.User |
createUser(String login,
String password,
String name,
String email) |
public es.uvigo.esei.dgss.lettab.domain.User createUser(String login, String password, String name, String email) throws javax.persistence.EntityExistsException
login - Unique login for the new userpassword - Password for the new username - Name for the new useremail - Email for the new userjavax.persistence.EntityExistsException - Throws this exception if the user existspublic void confirmUser(String login)
login - The user that you want to activateCopyright © 2016. All rights reserved.