public class UserService extends Object
| Constructor and Description |
|---|
UserService() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int id) |
List<UserProxy> |
loadAll() |
UserProxy |
loadById(int userId) |
UserProxy |
loadByUserName(String userName) |
UserProxy |
save(UserProxy user) |
public UserProxy loadById(int userId)
public UserProxy save(UserProxy user) throws UserPersistenceException
UserPersistenceExceptionpublic void delete(int id)
throws CannotDeleteUserException
CannotDeleteUserExceptionCopyright © 2020 Open Foris. All rights reserved.