net.stepniak.api.auth.repository.memory
Class InMemoryKeyRepository
java.lang.Object
net.stepniak.api.auth.repository.memory.InMemoryKeyRepository
- All Implemented Interfaces:
- KeyRepository
public final class InMemoryKeyRepository
- extends Object
- implements KeyRepository
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InMemoryKeyRepository
public InMemoryKeyRepository()
save
public <Entity extends KeyEntity> Entity save(Entity entity)
save
public <Entity extends KeyEntity> Iterable<Entity> save(Iterable<Entity> entities)
findOne
public KeyEntity findOne(String id)
exists
public boolean exists(String id)
findAll
public Iterable<KeyEntity> findAll()
findAll
public Iterable<KeyEntity> findAll(Iterable<String> strings)
count
public long count()
delete
public void delete(String id)
delete
public void delete(KeyEntity entity)
delete
public void delete(Iterable<? extends KeyEntity> entities)
deleteAll
public void deleteAll()
Copyright © 2013. All Rights Reserved.