@Repository public class UserRepository extends AbstractRepository<User> implements UserLookup
em
Constructor and Description |
---|
UserRepository() |
Modifier and Type | Method and Description |
---|---|
User |
findByName(String name)
Return user with the given name
|
boolean |
isNameAvailable(String name) |
countAll, delete, delete, deleteAll, findAll, findById, saveAndFlush
public boolean isNameAvailable(String name)
public User findByName(String name)
findByName
in interface UserLookup
name
- Copyright © 2015. All rights reserved.