public interface UserService
| Modifier and Type | Method and Description |
|---|---|
List<User> |
findAll()
Returns all users
|
User |
findById(long id)
Returns the user by the id
|
List<User> |
findByName(String name)
Returns the users by the name
|
void |
remove(User user)
Removes a user
|
void |
save(User user)
updates an existing user with changed roles or hash
|
User findById(long id)
name - List<User> findByName(String name)
name - void save(User user)
user - void remove(User user)
user - Copyright © 2014. All Rights Reserved.