public class OwnedEntityRepositoryDecorator extends Object implements IndexedRepository
| Constructor and Description |
|---|
OwnedEntityRepositoryDecorator(IndexedRepository decorated) |
| 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 |
create() |
void |
delete(Entity entity) |
void |
delete(Iterable<? extends Entity> entities) |
void |
deleteAll() |
void |
deleteById(Iterable<Object> ids) |
void |
deleteById(Object id) |
void |
drop() |
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 |
rebuildIndex() |
void |
update(Entity entity) |
void |
update(Iterable<? extends Entity> entities) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic OwnedEntityRepositoryDecorator(IndexedRepository decorated)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic Set<RepositoryCapability> getCapabilities()
getCapabilities in interface Repositorypublic String getName()
getName in interface Repositorypublic EntityMetaData getEntityMetaData()
getEntityMetaData 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 AggregateResult aggregate(AggregateQuery aggregateQuery)
aggregate in interface Repositorypublic void update(Entity entity)
update in interface Repositorypublic void update(Iterable<? extends Entity> entities)
update 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 void add(Entity entity)
add in interface Repositorypublic Integer add(Iterable<? extends Entity> entities)
add in interface Repositorypublic void flush()
flush in interface Repositorypublic void clearCache()
clearCache in interface Repositorypublic void create()
create in interface Manageablepublic void drop()
drop in interface Manageablepublic void rebuildIndex()
rebuildIndex in interface IndexedRepositoryCopyright © 2015. All Rights Reserved.