| Package | Description |
|---|---|
| com.avaje.ebean.bean |
Enhanced beans API and Support objects
|
| com.avaje.ebean.common |
Common non-public interfaces and implementation.
|
| com.avaje.ebean.event |
Persist and Query Event Controllers and Listeners
|
| com.avaje.ebeaninternal.api | |
| com.avaje.ebeaninternal.server.core |
Core implementation objects
|
| com.avaje.ebeaninternal.server.deploy |
Bean description
|
| com.avaje.ebeaninternal.server.loadcontext | |
| com.avaje.ebeaninternal.server.query | |
| com.avaje.ebeaninternal.server.util |
Server side Utility objects
|
| Modifier and Type | Method and Description |
|---|---|
void |
BeanCollectionLoader.loadMany(BeanCollection<?> collection,
boolean onlyIds)
Invoke the lazy loading for this bean collection.
|
void |
BeanCollectionTouched.notifyTouched(BeanCollection<?> c)
Notify the listener that the bean collection has been used.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractBeanCollection<E>
Base class for List Set and Map implementations of BeanCollection.
|
class |
BeanList<E>
List capable of lazy loading.
|
class |
BeanMap<K,E>
Map capable of lazy loading.
|
class |
BeanSet<E>
Set capable of lazy loading.
|
| Modifier and Type | Method and Description |
|---|---|
BeanCollection<T> |
BeanFinder.findMany(BeanQueryRequest<T> request)
Return a List, Set or Map for the given find request.
|
| Modifier and Type | Method and Description |
|---|---|
List<BeanCollection<?>> |
LoadManyBuffer.getBatch() |
List<BeanCollection<?>> |
LoadManyRequest.getBatch()
Return the batch of collections to actually load.
|
| Modifier and Type | Method and Description |
|---|---|
void |
LoadContext.register(String path,
BeanCollection<?> bc)
Register a collection for lazy loading.
|
| Modifier and Type | Method and Description |
|---|---|
<T> BeanCollection<T> |
OrmQueryEngine.findMany(OrmQueryRequest<T> request)
Execute the findList, findSet, findMap query returning an appropriate BeanCollection.
|
BeanCollection<T> |
SpiOrmQueryRequest.getFromQueryCache()
Try to get the query result from the query cache.
|
BeanCollection<T> |
OrmQueryRequest.getFromQueryCache()
Try to get the query result from the query cache.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultServer.loadMany(BeanCollection<?> bc,
boolean onlyIds) |
void |
DefaultBeanLoader.loadMany(BeanCollection<?> bc,
boolean onlyIds) |
void |
OrmQueryRequest.putToQueryCache(BeanCollection<T> queryResult) |
| Modifier and Type | Method and Description |
|---|---|
BeanCollection<?> |
BeanPropertyAssocMany.createReference(Object parentBean) |
BeanCollection<T> |
BeanMapHelp.createReference(Object parentBean,
String propertyName) |
BeanCollection<T> |
BeanSetHelp.createReference(Object parentBean,
String propertyName) |
BeanCollection<T> |
BeanCollectionHelp.createReference(Object parentBean,
String propertyName)
Create a lazy loading proxy for a List Set or Map.
|
BeanCollection<T> |
BeanListHelp.createReference(Object parentBean,
String propertyName) |
BeanCollection<?> |
BeanPropertyAssocMany.createReferenceIfNull(Object parentBean) |
BeanCollection<T> |
BeanDescriptor.queryCacheGet(Object id)
Get a query result from the query cache.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BeanMapHelp.add(BeanCollection<?> collection,
Object bean)
Internal add bypassing any modify listening.
|
void |
BeanPropertyAssocMany.add(BeanCollection<?> collection,
Object bean) |
void |
BeanSetHelp.add(BeanCollection<?> collection,
Object bean)
Internal add bypassing any modify listening.
|
void |
BeanCollectionHelp.add(BeanCollection<?> collection,
Object bean)
Add a bean to the List Set or Map.
|
void |
BeanListHelp.add(BeanCollection<?> collection,
Object bean)
Internal add bypassing any modify listening.
|
boolean |
BeanDescriptor.cacheLoadMany(BeanPropertyAssocMany<?> many,
BeanCollection<?> bc,
Object parentId,
Boolean readOnly) |
void |
BeanDescriptor.cachePutMany(BeanPropertyAssocMany<?> many,
BeanCollection<?> bc,
Object parentId) |
void |
BeanDescriptor.queryCachePut(Object id,
BeanCollection<T> query)
Put a query result into the query cache.
|
void |
BeanMapHelp.refresh(BeanCollection<?> bc,
Object parentBean) |
void |
BeanPropertyAssocMany.refresh(BeanCollection<?> bc,
Object parentBean)
Apply the refreshed BeanCollection to the property of the parentBean.
|
void |
BeanSetHelp.refresh(BeanCollection<?> bc,
Object parentBean) |
void |
BeanCollectionHelp.refresh(BeanCollection<?> bc,
Object parentBean)
Apply the new refreshed BeanCollection to the appropriate property of the parent bean.
|
void |
BeanListHelp.refresh(BeanCollection<?> bc,
Object parentBean) |
void |
DbReadContext.register(String path,
BeanCollection<?> bc)
Register a collection for lazy loading.
|
| Modifier and Type | Method and Description |
|---|---|
List<BeanCollection<?>> |
DLoadManyContext.LoadBuffer.getBatch() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
DLoadManyContext.LoadBuffer.add(BeanCollection<?> bc)
Return true if the buffer is full.
|
void |
DLoadManyContext.LoadBuffer.loadMany(BeanCollection<?> bc,
boolean onlyIds) |
void |
DLoadManyContext.register(BeanCollection<?> bc) |
void |
DLoadContext.register(String path,
BeanCollection<?> bc) |
| Modifier and Type | Method and Description |
|---|---|
BeanCollection<T> |
CQuery.continueFetchingInBackground() |
<T> BeanCollection<T> |
CQueryEngine.findMany(OrmQueryRequest<T> request)
Find a list/map/set of beans.
|
<T> BeanCollection<T> |
DefaultOrmQueryEngine.findMany(OrmQueryRequest<T> request) |
BeanCollection<?> |
BeanCollectionWrapper.getBeanCollection()
Return the underlying BeanCollection.
|
BeanCollection<T> |
CQuery.readCollection() |
| Modifier and Type | Method and Description |
|---|---|
void |
LimitOffsetPage.notifyTouched(BeanCollection<?> c)
Perform fetch ahead when the list is first accessed.
|
void |
CQuery.register(String path,
BeanCollection<?> bc) |
| Modifier and Type | Method and Description |
|---|---|
static BeanCollection<?> |
BeanCollectionFactory.create(BeanCollectionParams params)
Create a BeanCollection for the given parameters.
|
Copyright © 2014. All Rights Reserved.