public class MolgenisUserDecorator extends Object implements Repository
| Constructor and Description |
|---|
MolgenisUserDecorator(Repository decoratedRepository) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Entity entity) |
Integer |
add(Iterable<? extends Entity> entities) |
AggregateResult |
aggregate(AggregateQuery aggregateQuery) |
void |
clearCache() |
void |
close() |
long |
count() |
long |
count(Query q) |
void |
delete(Entity entity) |
void |
delete(Iterable<? extends Entity> entities) |
void |
deleteAll() |
void |
deleteById(Iterable<Object> ids) |
void |
deleteById(Object id) |
Iterable<Entity> |
findAll(Iterable<Object> ids) |
Iterable<Entity> |
findAll(Query q) |
Entity |
findOne(Object id) |
Entity |
findOne(Query q) |
void |
flush() |
Set<RepositoryCapability> |
getCapabilities() |
EntityMetaData |
getEntityMetaData() |
String |
getName() |
Iterator<Entity> |
iterator() |
Query |
query() |
void |
update(Entity entity) |
void |
update(Iterable<? extends Entity> entities) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic MolgenisUserDecorator(Repository decoratedRepository)
public void add(Entity entity)
add in interface Repositorypublic void update(Entity entity)
update in interface Repositorypublic Integer add(Iterable<? extends Entity> entities)
add in interface Repositorypublic void update(Iterable<? extends Entity> entities)
update in interface Repositorypublic String getName()
getName in interface Repositorypublic EntityMetaData getEntityMetaData()
getEntityMetaData in interface Repositorypublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic void flush()
flush in interface Repositorypublic void clearCache()
clearCache in interface Repositorypublic long count()
count in interface Repositorypublic Query query()
query in interface Repositorypublic long count(Query q)
count in interface Repositorypublic Iterable<Entity> findAll(Query q)
findAll in interface Repositorypublic Entity findOne(Query q)
findOne in interface Repositorypublic Entity findOne(Object id)
findOne in interface Repositorypublic Iterable<Entity> findAll(Iterable<Object> ids)
findAll in interface Repositorypublic void delete(Entity entity)
delete in interface Repositorypublic void delete(Iterable<? extends Entity> entities)
delete in interface Repositorypublic void deleteById(Object id)
deleteById in interface Repositorypublic void deleteById(Iterable<Object> ids)
deleteById in interface Repositorypublic void deleteAll()
deleteAll in interface Repositorypublic AggregateResult aggregate(AggregateQuery aggregateQuery)
aggregate in interface Repositorypublic Set<RepositoryCapability> getCapabilities()
getCapabilities in interface RepositoryCopyright © 2015. All Rights Reserved.