net.stepniak.api.auth.repository.memory
Class InMemoryUserRepository
java.lang.Object
net.stepniak.api.auth.repository.memory.InMemoryUserRepository
- All Implemented Interfaces:
- UserRepository
public final class InMemoryUserRepository
- extends Object
- implements UserRepository
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InMemoryUserRepository
public InMemoryUserRepository()
save
public <Entity extends UserEntity> Entity save(Entity entity)
save
public <Entity extends UserEntity> Iterable<Entity> save(Iterable<Entity> entities)
findOne
public UserEntity findOne(Long id)
exists
public boolean exists(Long id)
findAll
public Iterable<UserEntity> findAll()
findAll
public Iterable<UserEntity> findAll(Iterable<Long> strings)
count
public long count()
delete
public void delete(Long id)
delete
public void delete(UserEntity entity)
delete
public void delete(Iterable<? extends UserEntity> entities)
deleteAll
public void deleteAll()
findByEmailAndUserNameAndAccountType
public UserEntity findByEmailAndUserNameAndAccountType(@Param(value="email")
String email,
@Param(value="userName")
String userName,
@Param(value="accountType")
char accountType)
- Specified by:
findByEmailAndUserNameAndAccountType in interface UserRepository
Copyright © 2013. All Rights Reserved.